html
html
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<a id="img1" href='#' target='_blank'><img src='https://s2.postimg.org/chhrwbxl5/slide1.jpg' width="100%" border='0' alt='slide1'/></a>
<a id="img2" href='#' target='_blank'><img src='https://s7.postimg.org/quz5h5ih7/slide2.jpg' width="100%" border='0' alt='slide2'/></a>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
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
body {
margin: 0;
padding: 0;
background:#CDA28A;
}
img {
position: absolute;
top: 0;
left: 0;
}
#img1 img {
left: 0;
animation-delay: 2s;
animation-duration: 25s;
animation-name: slidein-img1;
animation-iteration-count: 100;
animation-timing-function: linear;
z-index = 1;
}
#img2 img {
left: -100%;
animation-delay: 2s;
animation-duration: 25s;
animation-name: slidein-img2;
animation-iteration-count: 100;
Enter to Rename, Shift+Enter to Preview
js
js
1
2
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run