+ 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?
5 odpowiedzi
+ 8
CSS media queries.
+ 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
+ 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
+ 4
You can do it with media query in css and you also can use bootstap which is very helpful in making responsive websites
+ 3
You can either use @media queries or CSS frameworks like Bootstrap to make your website to be responsive.