Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>hello</title>
- <style type="text/css">
- #fun2{
- margin-top: 8%;
- overflow: hidden;
- }
- .space-back{
- background: url(img/space-back.jpg) no-repeat;
- background-position: center;
- background-size: cover;
- height: 100vh;
- position: absolute;
- width:100%;
- }
- .flying-man{
- position: absolute;
- background: url(img/flying-man.png) no-repeat;
- background-position:bottom left;
- background-size: 70%;
- margin-top: 50px;
- width: 100%;
- height: 100vh;
- /*background-color: rgba(2,2,2,0.5);*/
- }
- section{
- min-height: 100vh;
- }
- </style>
- </head>
- <body>
- <section id="fun2">
- <div class="space">
- <div class="space-back"></div>
- <div class="flying-man"></div>
- </div>
- </section>
- <section id="speakers2">
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement