Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- body {
- /* big screens */
- background-color: red;
- }
- @media screen and (max-width: 900px) {
- body {
- /* medium screens */
- background-color: yellow;
- }
- }
- @media screen and (max-width: 400px) {
- body {
- /* small screens */
- backgund-color: green;
- }
- }
- body {
- font-size: 2vw;
- }
- img {
- width: 100%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement