Gurus Please Help With My Coding Problem - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Gurus Please Help With My Coding Problem (586 Views)
| Gurus Please Help With My Coding Problem by chingle5(op): 8:58pm On Oct 31, 2020 |
So I just started learning flexbox in CSS and I tried to create a header with logo, search bar and main links like the home, about, contact etc I wanted to use float but I think float is good for only two element like image and some text.... When I use flexbox to design it on pc it looks nice but when I resize the window it looks horrible so please help what do I need to do or what technology do I need to learn coz this is what has been giving me serious headache
|
| Re: Gurus Please Help With My Coding Problem by chingle5(op): 8:59pm On Oct 31, 2020 |
Please help o ![]() |
| Re: Gurus Please Help With My Coding Problem by blackpanthar: 9:00pm On Oct 31, 2020 |
pls bros go to youtube and learn for free and in a more detailed way |
| Re: Gurus Please Help With My Coding Problem by chingle5(op): 9:07pm On Oct 31, 2020 |
blackpanthar:Hmmmm |
| Re: Gurus Please Help With My Coding Problem by Karleb(m): 9:23pm On Oct 31, 2020 |
You need to learn responsive web design. When a site is "responsive", it means it can adjust to various css to meet up with the new width of the device. What you are currently experiencing is the normal behavior, you didn't set a different media query for width smaller than desktop. Go through this link to learn more. https://www.w3schools.com/css/css_rwd_intro.asp @media screen and (max-width: 800px) { .flexitem { flex-directon: column; } } The code above would help your case a little. |
| Re: Gurus Please Help With My Coding Problem by ehinorlive: 7:18am On Nov 01, 2020 |
use media query to arrange it on a specific screen size |
| Re: Gurus Please Help With My Coding Problem by chingle5(op): 1:16pm On Nov 01, 2020 |
Tanks guys I really appreciate |
Come And Solve This Coding Problem • Daily Coding Problem • Things you need to know as an upcoming programmer and MY CODING DAIRY • 2 • 3 • 4
My First Video • Help, Android Developers.. • React Monsters
