Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <link rel="shortcut icon" href="https://1xpto.netlify.app/icons/Favicon.gif" type="image/x-icon">
- <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>1XPTO</title>
- <style>
- .txt {
- font-family: verdana;
- font-weight: 900;
- font-size: 20px;
- color: darkgreen;
- padding-left: 5px;
- }
- a {
- display: inline-block;
- text-decoration: none;
- color: white;
- font-size: 16px;
- margin: 5px;
- font-family: verdana;
- font-weight: 900;
- background-color: red;
- padding: 5px 20px;
- }
- .square {
- border: 5px solid;
- display: inline-block;
- margin-left: 5px;
- }
- .brand {
- margin: 50px;
- }
- img {
- width: 200px;
- }
- p {
- width: 200px;
- text-align: center;
- font-family: verdana;
- font-weight: 900;
- font-size: 30px;
- color: darkred;
- line-height: 0;
- }
- body {
- padding-bottom: 50px;
- }
- </style>
- </head>
- <body>
- <div class='brand'>
- <img src='https://1xpto.netlify.app/pics/emoji.png' />
- <p>1XPTO</p>
- </div>
- <span class='square'></span>
- <span class='txt'>How to move objects with CSS (no JS)</span>
- <br/>
- <a href='https://codepen.io/manuel-andrade/pen/QWqVedZ'>Download</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement