Indeed, depending on where you start you might have for desktop first:
@media (max-width: 1200px)
@media (max-width: 992px)
@media (max-width: 768px)
@media (max-width: 576px)
while for mobile first you can have:
@media (min-width: 576px)
@media (min-width: 768px)
@media (min-width: 992px)
@media (min-width: 1200px)
Yes, I agree. Well what you prefer mobile first or desktop first. I prefer desktop first btw.😅😅
I prefer mobile first coz it makes ur life easier and reduces repetition of styles
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Indeed, depending on where you start you might have for desktop first:
@media (max-width: 1200px)
@media (max-width: 992px)
@media (max-width: 768px)
@media (max-width: 576px)
while for mobile first you can have:
@media (min-width: 576px)
@media (min-width: 768px)
@media (min-width: 992px)
@media (min-width: 1200px)
Yes, I agree. Well what you prefer mobile first or desktop first. I prefer desktop first btw.😅😅
I prefer mobile first coz it makes ur life easier and reduces repetition of styles