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, html {
- height: 100%;
- margin: 0;
- font-family: Bree Serif, Helvetica, sans-serif;
- }
- .hero-image {
- background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("siema1.jpg");
- height: 70%;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- position: relative;
- }
- .hero-text {
- text-align: center;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- color: #32CD32;
- }
- .hero-text button {
- border: none;
- outline: 0;
- display: inline-block;
- padding: 10px 25px;
- color: black;
- background-color: #ddd;
- text-align: center;
- cursor: pointer;
- </style>
- </head>
- <body>
- <div class="hero-image">
- <div class="hero-text">
- <h1 style="font-size:50px">Zespół Szkół Rolniczych</h1>
- <h1 style="font-size:35px">w Białymstoku</h1>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement