-
Notifications
You must be signed in to change notification settings - Fork 0
/
cssvisual.html
90 lines (76 loc) · 2.01 KB
/
cssvisual.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color:black;
}
header{
font-size: large;
font-weight: 700;
color: orange;
background-color: rgb(55, 50, 50);
height: 53px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 7px;
}
.flex{
display: flex;
justify-content: center;
align-items: center;
margin-top: 23px;
color: white;
}
.grid{
display: flex;
justify-content: center;
align-items: center;
margin-top: 23px;
color: white;
margin-left: 23px;
}
.Positions{
display: flex;
margin-top: 140px;
justify-content: center;
align-items: center;
height: 53px;
color: white;
margin-left: 23px;
}
.statements{
color: white;
margin-top: 23px;
}
</style>
</head>
<body>
<header>
Visual Representation
</header>
<div class="statements">
Here Students can learn CSS through Visuals
</div>
<div class="flex">
Flex Box:
<img src="https://cdn-media-1.freecodecamp.org/images/6WwoIEc45lUHUcFQCmD8GmziiISm2lO64Y1-" alt="flex video">
</div>
<div class="grid">
<div>
CSS Grid:
</div>
<img src="https://i.stack.imgur.com/S2X37.gif" alt="flex video">
</div>
<section>
<div class="Positions">
CSS Positions:
<img src="https://cdn-images-1.medium.com/max/800/1*hZ4UKB9xpFnoDQSUIkA4rg.gif" alt="" height="300px">
</div>
</section>
</body>
</html>