sliderjs
Version:
lightweight slideshow engine using CSS, Canvas and WebGL Transitions
38 lines (37 loc) • 597 B
text/less
.sliderjs {
.slide {
position: absolute;
z-index: 0;
padding: 0;
margin: 0;
&.current {
z-index: 10;
img {
z-index: 12;
}
.caption {
z-index: 13;
}
}
a {
text-decoration: none;
}
img {
z-index: 2;
width: 100%;
border: none;
}
.caption {
position: absolute;
right: 0;
top: 4px;
z-index: 3;
padding: 5px 10px;
font-weight: bold;
font-size: 14px;
white-space: nowrap;
.opacity(0.8);
.border-radius(5px 0 0 5px);
}
}
}