-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (60 loc) · 2.16 KB
/
index.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
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="U-XA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width">
<title>CSS Animation</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js" async="false"></script>
</head>
<body>
<div class="pseudo-selector">
<h1>Pseudo class</h1>
<span>Hello, Benjamin</span>
<p>
<Span> If you long press on</Span> <a href="#"> Ngafua</a>, <br> the padding will increase and the text color will change.</p>
<h1>Pseudo Elements</h1>
<span>Pseudo Elements add extra feature to the DOM</span>
<ul>
<p class="pseudo-typograph">My first letter is larger than all the letters here</p>
<li class="before">A content is inserted ahead of me</li>
<li class="after">A content is inserted before me</li>
</ul>
<h1>Pseudo Selected</h1>
<p class="hlght-p">If you highlight me, my background color will change from default</p>
</div>
<!-- CSS 2D -->
<div class="translate">
<div class="skew-t"> I am skew Top</div>
<div class="skew-b">I am skew Bottom</div>
<div class="scale"></div>
<div class="RotatE-clockwise">Rotate Clockwise</div>
<div class="RotatE-antiClockwise">Rotate Anticlockwise</div>
</div>
<!-- CSS 3D -->
<div class="transform">
<div class="spanRotateZaround"> I am spanRotate Z</div>
<div class="spanRotateY?">I am spanRotate Y</div>
<div class="__spanRotateX">I am spanRotate X</div>
</div>
<!-- Transitions -->
<div class="transitions">
<div class="with-transition">With Transitions
</div>
<div class="without-transition">Without Transitions
</div>
<div class="other-transition">Other detail
</div>
</div>
<!-- Animation -->
<div class="animations">
<div class="animated">With animations
</div>
<div class="animated-right">Without animations
</div>
<div class="other-animation">Other detail
</div>
</div>
</body>
</html>