"slider"
Bootstrap 3.0.0 Snippet by evarevirus

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<p>change the image background (thumbnails) / the text (contentEditable)</p>
<input type="radio" name="opt" id="thumbnail-0" checked="checked"/>
<label for="thumbnail-0">image 0</label>
<input type="radio" name="opt" id="thumbnail-1"/>
<label for="thumbnail-1">image 1</label>
<input type="radio" name="opt" id="thumbnail-2"/>
<label for="thumbnail-2">image 2</label>
<input type="radio" name="opt" id="thumbnail-3"/>
<label for="thumbnail-3">image 3</label>
<input type="radio" name="opt" id="thumbnail-4"/>
<label for="thumbnail-4">image 4</label>
<input type="radio" name="opt" id="thumbnail-5"/>
<label for="thumbnail-5">image 5</label>
<input type="radio" name="opt" id="thumbnail-6"/>
<label for="thumbnail-6">image 6</label>
<header class="blending">
<h2 contentEditable="true" role="textbox" aria-multiline="true">And stay alive</h2>
</header>
<header class="textclip">
<h2 contentEditable="true" role="textbox" aria-multiline="true">And stay alive</h2>
</header>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#btn--yp {
box-sizing: content-box;
position: fixed;
z-index: 9;
bottom: 1rem;
right: 1rem;
border: solid 1rem transparent;
width: 4.625rem;
height: 3.25rem;
background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/2017/icon-yp.svg) 50%/cover content-box;
text-indent: 200vw;
text-shadow: none;
filter: grayscale(1) drop-shadow(0 0 1px #e8e0e0);
transition: .5s;
white-space: nowrap;
}
#btn--yp:before {
position: absolute;
left: 0;
bottom: 100%;
margin: 1rem -.5rem;
padding: .5rem;
width: 100%;
border-radius: 5px;
background: #e8e0e0;
color: #000;
font: 1rem/1.25rem trebuchet ms, sans-serif;
text-align: center;
text-decoration: none;
text-indent: 0vw;
white-space: normal;
animation: float 1s ease-in-out infinite alternate;
content: attr(data-txt);
}
#btn--yp:hover, #btn--yp:focus {
outline: none;
filter: grayscale(0) drop-shadow(0 0 1px crimson);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: