V
V
Vladislav Radu2014-10-31 16:49:19
HTML
Vladislav Radu, 2014-10-31 16:49:19

What is the best way to create a responsive design - max-width or min-width?

Correct please. I create a responsive design for my website. Built this CSS:

@media all and (max-width: 320px){
}
@media all and (max-width: 480px){
}
@media all and (max-width: 768px){
}
@media all and (max-width: 992px){
}
@media all and (max-width: 1200px){
}
@media all and (max-width: 1600px){	
}

How is it more convenient or correct to type - the minimum screen resolution or the maximum, or both?
In case anyone has time, please correct my css values.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Sorokin, 2014-10-31
@VitalySorokin

It is better to use the “Mobile First” approach, you can read this article for more details, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question