Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- body {
- margin: 0;
- font-family: Arial;
- font-size: 17px;
- background-image: url("http://www.wallpapers4u.org/wp-content/uploads/nod32_robot_black_white_26279_1920x1080.jpg");
- }
- html {
- height: 100%;
- margin: 0;
- }
- h1{
- color: red;
- }
- p{
- color :red;
- }
- .objekat{
- position: fixed;
- bottom: 10px; /*sa ova dva centriras gde ce biti px je pixel*/
- left: 10px;
- }
- </style>
- </head>
- <body>
- <div class="objekat">
- <h1>Heading</h1>
- <p>Neki tekst ovde.</p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement