-
Notifications
You must be signed in to change notification settings - Fork 2
/
css3实现网页平滑过渡效果.html
69 lines (67 loc) · 2.82 KB
/
css3实现网页平滑过渡效果.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>css3实现的页面平滑过渡 | 镜心书社</title>
<meta http-equiv="X-UA-Compatible" content="IE-edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Josefin+Slab" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.min.css">
<link rel="stylesheet" type="text/css" href="style/smooth-transition.css">
</head>
<body>
<div class="container">
<div class="st-container">
<!-- nav begin -->
<input type="radio" name="radio-set" checked="checked" id="st-control-1">
<a href="#st-panel-1" title="">Serendipity</a>
<input type="radio" name="radio-set" id="st-control-2">
<a href="#st-panel-2" title="">Happinese</a>
<input type="radio" name="radio-set" id="st-control-3">
<a href="#st-panel-3" title="">Tranquillity</a>
<input type="radio" name="radio-set" id="st-control-4">
<a href="#st-panel-4" title="">Positivity</a>
<input type="radio" name="radio-set" id="st-control-5">
<a href="#st-panel-5" title="">Passion</a>
<!-- nav end content begin-->
<div class="st-scroll">
<section class="st-panel" id="st-panel-1">
<div class="st-description" data-icon="H"></div>
<h2>Serendipity</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
</p>
</section>
<section class="st-panel st-color" id="st-panel-2">
<div class="st-description" data-icon="Q"></div>
<h2>Happinese</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
</p>
</section>
<section class="st-panel" id="st-panel-3">
<div class="st-description" data-icon="B"></div>
<h2>Tranquillity</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
</p>
</section>
<section class="st-panel st-color" id="st-panel-4">
<div class="st-description" data-icon="U"></div>
<h2>Positivity</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
</p>
</section>
<section class="st-panel " id="st-panel-5">
<div class="st-description" data-icon="L"></div>
<h2>Passion</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
</p>
</section>
</div>
</div>
</div>
</body>
</html>