How we create a responsive website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How we create a responsive website

I have problem in my website can anyone help me https://code.sololearn.com/WA4W7oU1Dcc8/?ref=app

26th Mar 2020, 6:47 PM
sofien hedjazi
sofien hedjazi - avatar
2 Answers
+ 1
https://code.sololearn.com/Wy9C2ylOUpYD/?ref=app This is one. I fixed your code and now it is responsive. In order to make the website responsive you can use: max-width: 1200px; //or whatever you want to give as maximum width. width: 100%; // you have to use these 2 property at the same time to achieve responsiveness. Max-width is limitation. width will change its value whenever the website is resized to smaller size from given max-width value.
26th Mar 2020, 7:40 PM
Shayboniyshoh
Shayboniyshoh - avatar
0
There are also other things other than floats that makes your web page responsive easily -flexbox -Css gird You should must have to cover these tutorials
26th Mar 2020, 8:22 PM
Saad Mughal
Saad Mughal - avatar