-
Notifications
You must be signed in to change notification settings - Fork 2
/
emmet.css
198 lines (144 loc) · 3.03 KB
/
emmet.css
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/* src:kevin:powell:: https://youtu.be/vncch9-1kPE */
/* Use `ctrl+space tab` to expand each abbrev. below... */
/* * Or you use your customized ctrl+e to expand emmet directly. */
/*
p → %
e → em
x → ex
FYI: m1px this also auto completes to: `margin: 1px;`.
*/
/* **************************8 */
/* ? Official full length cheat sheet from emmet: https://docs.emmet.io/cheat-sheet/ */
* {
fxw
flex-wrap: nowrap;
/* 🧸︎ (Flexbox wins! ~kevin powell) This is REALLY good say if you want your items in flex (row) to get stacked in multiple rows when you have given width to each item and they would just stack underneath of each other when the row is filled, awesome ! */
gc
grid-column: ;
je
justify-self: end;
/* Grid */
gtc
grid-template-columns: repeat ( );
gar
grid-auto-rows: auto;
gg
grid-gap: ;
ji
justify-items: start;
/* Used in Grid: ^^ You can have values like stretch (default), start, center, end. */
ai
align-items: start;
/* Grid values (assigned to crossbow): stretch(default), start, end, center. */
/* Flex values (assigned to crossbow): stretch(default), center, flex-start, flex-end, baseline. */
jc:sb
jc:sw
/* ^^ both does same */
justify-content: space-between;
/* for flex */
jc:s
justify-content: start;
/* for flex */
jc:e
justify-content: end;
/* for flex */
jc:so
jc:su
jc:sd
/* ^^ above three does same */
justify-content: space-around;
/* for flex*/
as
align-self: start;
/* Grid, , Flex */
ac:c
align-content: center;
m1
margin: 1px;
m3p
margin: 3%;
m2e
margin: 2em;
m3r
margin: 3rem;
m4e5e
margin: 4em 5em;
ml1
margin-left: 1px;
ml1:1
margin-left: 1px 1px;
ml:1:1
margin-left: 1px 1px;
m:1:auto
margin: 1px auto;
m1:auto
margin: 1px auto;
p0
padding: 0;
p2p
padding: 2%;
p2:3
padding: 2px 3px;
p2e:2e
padding: 2em 2em;
ma:5r
max-width: 5rem;
ta:l
text-align: left;
ta:c
text-align: center;
bd
border: 1px solid #000;
bd:2:solid:blue
border: 2px solid blue;
bc-red
background-color: red;
bg:red
background: red;
/* background is shorthand property, refer @ https://www.w3schools.com/css/css_background.asp */
bg:#23424A
background-color: #23424A;
fs:i
font-style: italic;
c:green
color: green;
c:red
color: red;
fz:1r
font-size: 1rem;
df
display: flex;
dg
display: grid;
fxd
flex-direction: row;
fxd:rr
flex-direction: row-reverse;
fxd:c
flex-direction: column;
w:100
width: 100px;
w:100p
width: 100%;
p2r+w100p+ma75r+m0:auto
padding: 2rem;
width: 100%;
max-width: 75rem;
margin: 0 auto;
fz.925r+p2e+m1e+bgc+c+df+fxd
font-size: 0.925rem;
padding: 2em;
margin: 1em;
background-color: black;
color: white;
display: flex;
flex-direction: row;
fz.925r+p2e+m1e+bgc:red+c:black+df+fxd
font-size: 0.925rem;
padding: 2em;
margin: 1em;
background-color: red;
color: black;
display: flex;
flex-direction: row;
}