-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (156 loc) · 5.54 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<title>Practice</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1 class="title">CSS CHEATSHEET <small>by SMhd</small></h1>
<div class="container">
<div class="card">
<h3 class="heading">Text Properties</h3>
<p>
<span class="summary">font-family: </span>
<span class="detail">(specific font, generic font)</span>
</p>
<p>
<span class="summary">font-size: </span>
<span class="detail">[length, small, large, xlarge, ...]</span>
</p>
<p>
<span class="summary">font-weight: </span>
<span class="detail">[bold, bolder, 100 .. 900]</span>
</p>
<p>
<span class="summary">font-style: </span>
<span class="detail">[italic, oblique]</span>
</p>
<p>
<span class="summary">color: </span>
<span class="detail">[named color, hex color, rgb, hsl]</span>
</p>
<p>
<span class="summary">text-shadow: </span>
<span class="detail">(x, y, blur, color)</span>
</p>
</div>
<div class="card">
<h3 class="heading">Box Model Properties</h3>
<p>
<span class="summary">padding: </span>
<span class="detail">top right bottom left</span>
</p>
<p>
<span class="summary">margin: </span>
<span class="detail">top right bottom left</span>
</p>
<p>
<span class="summary">border-style: </span>
<span class="detail">[solid dotted dashed]</span>
</p>
<p>
<span class="summary">border-width: </span>
<span class="detail">length</span>
</p>
<p>
<span class="summary">border-color: </span>
<span class="detail">color</span>
</p>
<p>
<span class="summary">border-radius: </span>
<span class="detail">size</span>
</p>
<p>
<span class="summary">width, min-width, max-width: </span>
<span class="detail">size</span>
</p>
<p>
<span class="summary">heigth, min-height, max-height: </span>
<span class="detail">size</span>
</p>
</div>
<div class="card">
<h3 class="heading">Common</h3>
<p>
<span class="summary">background-color: </span>
<span class="detail">color</span>
</p>
<p>
<span class="summary">background-image: </span>
<span class="detail">src(url)</span>
</p>
<p>
<span class="summary">cursor: </span>
<span class="detail">[teat, crosshair, wait, pointer]</span>
</p>
</div>
<div class="card">
<h3 class="heading">Basic Layout Properties</h3>
<p>
<span class="summary">display: </span>
<span class="detail">block, inline, none, flex, grid</span>
</p>
<p>
<span class="summary">position: </span>
<span class="detail">static, fixed, relative, absolute, sticky</span>
</p>
<p>
<span class="summary">float: </span>
<span class="detail">left, right, none</span>
</p>
<p>
<span class="summary">clear: </span>
<span class="detail">left, right, both</span>
</p>
<p>
<span class="summary">overflow: </span>
<span class="detail">visible, scroll, hidden, auto</span>
</p>
<p>
<span class="summary">z-index: </span>
<span class="detail">number</span>
</p>
</div>
<div class="card">
<h3 class="heading">Flexbox Properties</h3>
<p>
<span class="summary">flex-direction:
<span class="detail">row, column, row-reverse, column-reverse</span>
</p>
<p>
<span class="summary">flex-wrap:
<span class="detail">nowrap, wrap, wrap-reverse</span>
</p>
<p>
<span class="summary">justify-content:
<span class="detail">flex-start, flex-end, center, space-around, space-between</span>
</p>
<p>
<span class="summary">align-items:
<span class="detail">flex-start, flex-end, center, stretch</span>
</p>
<p>
<span class="summary">align-content:
<span class="detail">flex-start, flex-end, center, stretch</span>
</p>
<p>
<span class="summary">order:
<span class="detail">number</span>
</p>
<p>
<span class="summary">flex-grow:
<span class="detail">number</span>
</p>
<p>
<span class="summary">align-self:
<span class="detail">flex-start, flex-end, center</span>
</p>
</div>
</div>
<footer>
<p>
powered by html and css :)
</p>
</footer>
</body>
</html>