-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (62 loc) · 2.47 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
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task 8 - 10.01.2022</title>
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="content">
<h1 class="title">CSS Transitions - CSS transitions allows you to change property values smoothly, over a given duration.</h1>
</div>
<div class="content">
<div class="contentTitle">
<p>Transition <span class="plus">+</span> Transform</p>
<p class="contentTitleText">Hover over the <span class="contentTitleSpan">Blue</span> div element below:</p>
</div>
</div>
<div class="content">
<div class="exp1"></div><br><br>
<p class="exText">In this example the square is rotating 180 degreese.</p>
</div>
<div class="content">
<div class="tri"></div>
<p class="exText">In this example the circle contains 4 colors and is rotating 180 degreese and becoming a frame.</p>
</div>
<div class="content">
<div class="extract"></div>
<p class="exText">In this example the hover effect is expanding both sides, using a easing-function called cubic-bezier</p>
</div>
<div class="content">
<div class="extract2"></div>
<p class="exText">In this example the hover effect is expanding the square fully in 8 steps</p>
</div>
<div class="content">
<div class="contentTitle">
<p>Change shape with <span class="colon">:</span>hover</p>
<p class="contentTitleText">Hover over the <span class="contentTitleSpan">Square</span> to change the shape to a <span class="contentTitleSpan">Circle</span> below:</p>
</div>
</div>
<div class="content">
<div>
<div class="transf"></div>
</div>
</div>
<div class="content">
<div class="contentTitle">
<p><span class="colon">:</span>Hover <span class="plus">+</span> Transition</p>
<p class="contentTitleText">Hover over the <span class="contentTitleSpan">Picture</span> to see what hides behind it</p>
</div>
</div>
<div class="content">
<div class="contentTitle">
<div class="box">
<img src="./img/do it.jpg">
<img src="./img/great.jpg" class="hover-img">
</div>
</div>
</div>
</body>
</html>