How establish a CSS according with the display size
- In the css file, add the tag @media
- Establish the dimensions
- @media(min-width:992px)
- @media(min-width:992px) and (max-width: 1200px)
- @media (max-width: 991px)
- Can also establish an attribute as screen
- This mean that in case of a print the style will not be considered only in the screens =P
- @media screen and (max-width: 1000px)
- @media only screen and (max-width: 1000px)
Comentarios
Publicar un comentario