Which code is used to make a website/webpage responsive? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 12

Which code is used to make a website/webpage responsive?

Which code is used to make a website/webpage responsive? Which will responsive in every devices.and can I make it with mobile?

29th Sep 2020, 3:17 PM
Developer Ratul
Developer Ratul - avatar
5 Antworten
+ 8
CSS media queries.
1st Oct 2020, 11:44 AM
Sonic
Sonic - avatar
+ 7
M R RATUL(developer) You can use meta charset 8 or 16 According to your requirements. Then write the name of meta. Then content=device - it's width Set initial scale. Only this much efforts. Here you go! As Akbar has given you the fully furnished code so that'll help you too.. Hope this helps
29th Sep 2020, 3:35 PM
Piyush
Piyush - avatar
+ 5
Akbar This is some media queries for different sizes you can use them /*xsm and portrait*/ @media screen and (max-width: 767px) and (orientation:portrait) { } /*xsm and landscape*/ @media screen and (max-width: 767px) and (orientation: landscape) { } /*small*/ @media screen and (min-width: 768px) { } /* md */ @media screen and (min-width: 992px) { } /*lg*/ @media screen and (min-width: 1200px) { } And for boorstrap there is a course here in more topics of html you can check it out
29th Sep 2020, 3:39 PM
Ruba Kh
Ruba Kh - avatar
+ 4
You can do it with media query in css and you also can use bootstap which is very helpful in making responsive websites
29th Sep 2020, 3:21 PM
Ruba Kh
Ruba Kh - avatar
+ 3
You can either use @media queries or CSS frameworks like Bootstrap to make your website to be responsive.
2nd Oct 2020, 4:43 PM
Ricson B. Escalicas
Ricson B. Escalicas - avatar