Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="video-section" class="dark-section">
- <div class="home"></div>
- <div class="fullscreen-img" style="background-image: url(http://upanh.biz/images/2014/11/23/bg1.jpg)"></div>
- </div>
- *{
- margin: 0;
- padding: 0;
- }
- #video-section{
- margin: 0 auto;
- width: 1230px;
- height: 500px;
- }
- .dark-section{
- background-color: black;
- }
- .home{
- display: table;
- height: 500px;
- left: 0;
- position: relative;
- top: 0;
- width: 100%;
- }
- .fullscreen-img {
- background-position: center center;
- background-repeat: no-repeat;
- background-size: cover;
- height: auto;
- left: 0;
- min-height: 500px;
- position: fixed;
- top: 0;
- width: 100%;
- z-index: -1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement