JSFiddle - React, Tailwind, and code Playground
by bernhein
HTML
<div id="full-screen-carousel">
<div id="overlay"></div>
<div id="toolbar"><a href="#" title="Minimize"><img src="../../../Images/toolbar_n_icon.png" width="50" height="50"/></a></div>
<div id="stage">
<div id="stageScroller">
<div id="stageContainer">
<div><img src="http://loremflickr.com/800/500/cat"/></div>
</div>
</div>
</div><a href="#" title="next" class="full-screen-next"></a><a href="#" title="previous" class="full-screen-prev"></a>
<div id="thumbnails_wrapper">
<div id="outer_container">
<div id="thumbScroller">
<div class="container">
<div class="content">
<div><a><img src="http://loremflickr.com/320/240/cat" class="thumb"/></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
CSS
*{
margin: 0 auto;
padding: 0;
}
/* Kleine Monitore */
#full-screen-carousel{
position: fixed;
}
#overlay{
position: fixed!important;
display:none;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
background-color: rgba(0,0,0,0.9);
}
.full-screen-next, .full-screen-prev{
display:none;
position:fixed;
width:50px;
height:50px;
top:50%;
margin:-25px 10px 0 10px;
z-index:13;
filter:alpha(opacity=40);
-moz-opacity:0.4;
-khtml-opacity:0.4;
opacity:0.4;}
.nextImageBtn:hover,.prevImageBtn:hover{
filter:alpha(opacity=80);
-moz-opacity:0.8;
-khtml-opacity:0.8;
opacity:0.8;
}
.full-screen-next{
right:0;
background:#000 url(../Images/nextImgBtn.png) center center no-repeat;
}
.full-screen-prev{
background:#000 url(../Images/prevImgBtn.png) center center no-repeat;
}
#toolbar{position:fixed; z-index:13; right:10px; top:10px; padding:5px;}
#toolbar img{border:none;}
#full-screen-carousel{
z-index:11;
overflow:hidden;
width:100%;
height:100%;
margin: 0 auto;
}
#stage{
position: fixed;
z-index: 12;
width: 100%;
height: 100%;
}
#stageScroller{
position: relative;
width: 100%;
height: 100%;
}
#stageContainer{
position: absolute;
left: 0px;
right: 0px;
bottom: 0px;
top: 0px;
overflow: hidden;
}
#stageContainer *{
width: 100%;
height: auto;
}
#stageContainer > *{
float: left;
position: absolute;
}
#stageContainer img{
}
#thumbnails_wrapper{
display: none;
}
/* Tabletts */
@media only screen and (min-width: 760px) {
.full-screen-next, .full-screen-prev{
display:block;
}
}
/* Mittlere Größe */
@media only screen and (min-width: 980px) {
#stageContainer{
left: 90px;
right: 95px;
top: 5%;
}
#stageContainer a{
padding:
}
#stageContainer img{
border: 5px solid white;
}
#thumbnails_wrapper{
display:...