Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>HTML CSS change image with CSS Media Queries</title>
- <style>
- .tube {
- position: absolute;
- top: 10px;
- left: 10px;
- background-color: red;
- width: 150px;
- text-align: center;
- color: snow;
- font-family: arial black;
- padding: 5px 20px;
- }
- </style>
- </head>
- <body>
- <a class='tube' href='https://codepen.io/manuel-andrade/pen/poWZGYW'>See it on CodePen</a>
- <script></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement