Answer the question
In order to leave comments, you need to log in
Responsive web design + media quaries. How to layout adaptively?
Hello everyone, in the course of studying adaptive layout, I came to a small dead end. Namely, how to adapt the internal elements - headings, logos, etc. ?
I make a fluid layout + fluid images and add media queries. Everything seems to be fine, but I get a lot of media (11 pieces), every 200px the content falls out of the blocks. Tell me how to get on good in this topic?
Answer the question
In order to leave comments, you need to log in
You need to look at the entire layout in general. But there is another question, do you use frameworks like bootstrap? If not, then look what it is, I advise. You will write less code
Try it this way
@media (min-width: 320px) and (max-width: 480px) {
//CSS
}
Right now, TWO requests are relevant, which 11??!!!!!! Well, the end of THREE.
@media (max-width:1199px) {} //редко использую
@media (max-width:991px) {} //довольно часто юзаю вась
@media screen and (max-width:767px) {} //то что дохтор прописал
@media (max-width:479px) {} // для маньяков)))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question