How to make your website fit all screen sizes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to make your website fit all screen sizes?

27th Sep 2019, 1:31 AM
Akshat [Inactive]
Akshat [Inactive] - avatar
5 Answers
+ 7
Make your website responsive The first step being the meta tag Then using @media tag Then using viewport height and viewport width (vh & vw) instead of px This helped me in responsiveness with basic css... You may also use Flexbox but I don't know how to use it.. 😅
27th Sep 2019, 4:01 AM
$hardul B
$hardul B - avatar
+ 3
Thanks for all of your answers!!! 😊😊😊
27th Sep 2019, 7:34 AM
Akshat [Inactive]
Akshat [Inactive] - avatar
+ 3
by using bootstrap you can create responsible website
28th Sep 2019, 3:32 AM
Twinkle Baisane
Twinkle Baisane - avatar
+ 2
Bootstrap ! If you use some framework in the backend, take a look for augmented lib. Maybe some useful information you can find out https://www.sololearn.com/learn/1051/
27th Sep 2019, 6:04 AM
Aaron Yang
Aaron Yang - avatar
+ 2
For responsiveness first use meta tag in the head. When doing css try set values in % or vh, em, rem. Try to use as less px values as possible. Use media queries in css to set a particular behavior after the screen size shrinks or exceed the specified width Also you can use frameworks like bootstrap 4. Bootstrap is responsive so you don't have to worry about all those values and behavior.
27th Sep 2019, 8:05 PM
Shaheer khan
Shaheer khan - avatar