movie-stream-karussel.php
Quell Code
<html>
<link href='https://fonts.googleapis.com/css?family=Almendra' rel='stylesheet'>
<body>
<ul class="items">
<li>
<div class="bg-img" style="background-image: url('http://sebastian1012.bplaced.net/bilder/333.jpg');"></div>
<a href="https://movie-stream.eu/watch/black-panther.html" base target="_parent">
<div class="content">
<h2>Black Panther</h2>
</div>
</a>
</li>
<li>
<div class="bg-img" style="background-image: url('http://sebastian1012.bplaced.net/bilder/444.jpg');"></div>
<a href="https://movie-stream.eu/watch/harry-potter-und-der-stein-der-weisen.html" base target="_parent">
<div class="content">
<h2>Harry Potter und der Stein der Weisen</h2>
</div>
</a>
</li>
<li>
<div class="bg-img" style="background-image: url('http://sebastian1012.bplaced.net/bilder/555.jpg');"></div>
<a href="https://movie-stream.eu/watch/spiderman-homecoming.html"base target="_parent">
<div class="content">
<h2>Spider-Man: Homecoming</h2>
</div>
</a>
</li>
<li>
<div class="bg-img" style="background-image: url('http://sebastian1012.bplaced.net/bilder/666.jpg');"></div>
<a href="https://movie-stream.eu/watch/bumblebee-english.html"base target="_parent">
<div class="content">
<h2>Bumblebee</h2>
</div>
</a>
</li>
<li>
<div class="bg-img" style="background-image: url('http://sebastian1012.bplaced.net/bilder/777.jpg');"></div>
<a href="https://movie-stream.eu/watch/aquaman.html"base target="_parent">
<div class="content">
<h2>Aquaman</h2>
</div>
</a>
</li>
</ul>
</html>
</body>
<style>
body {background-color: #131313;}
@import url(https://fonts.googleapis.com/css?family=Lato:300);
* {
box-sizing: border-box;
padding: 0;
margin: 0;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.page-head {
position: fixed;
top: 25%;
left: 0;
width: 100%;
}
.page-head h1 {
font-family: 'Almendra';font-size: 22px;
color: red;
text-align: center;
text-transform: uppercase;
padding: 20px;
}
.items {
position: fixed;
top: 40%;
left: 50%;
text-align: center;
width: 5000px;
transform: translateY(-50%) translateX(-50%);
}
.items li {
position: relative;
vertical-align: middle;
display: inline-block;
list-style: none;
width: 200px;
height: 120px;
background-color: black;
transition-duration: 0.5s;
overflow: hidden;
cursor: pointer;
}
.items li .bg-img {
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
background-position: center top;
}
.items li:hover {
transition-delay: 0.5s;
width: 400px;
height: 250px;
}
.items li:hover a .content {
transform: translateY(0) translateX(-50%);
transition-delay: 0.75s;
opacity: 1;
}
.items li a {
color: white;
text-decoration: none;
cursor: pointer;
width: 100%;
height: 100%;
display: block;
position: relative;
z-index: 2;
}
.items li a .content {
background: linear-gradient(transparent, rgba(0, 0, 0, .75));
width: 100%;
height: 100px;
position: absolute;
bottom: 0;
left: 50%;
transform: translateY(100%) translateX(-50%);
transition-duration: 1s;
opacity: 0;
padding: 40px 10px 10px 10px;
width: 400px;
}
.items li a .content h2 {
font-weight: 300;
color: white;
font-size: 30px;
}
</style>