-
Notifications
You must be signed in to change notification settings - Fork 23
/
elastic.3.spec
56 lines (47 loc) · 1.4 KB
/
elastic.3.spec
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
Elastic CSS Framework Syntax
Reserved words:
clearfix (-e-clearfix)
unit (-e-unit) {e-clearfix}
full-height (-e-full-height)
full-width (-e-full-width)
top (-e-vertical-top)
bottom (-e-vertical-bottom)
vertical-center (-e-vertical-center)
horizontal-center (-e-horizontal-center)
center (-e-center) (e-horizontal-center -e-vertical-center)
columns (-e-columns) (e-unit)
column (-e-column)
container (-e-container)
same-height (-e-same-height)
full-height (-e-full-height)
full-width (-e-full-width)
fixed (-e-fixed)
elastic (-e-elastic)
on-# (-e-on-#)
span-# (-e-span-#)
adaptive-#-# (-e-adaptive-#-#)
<e></e>
<i></i>
<b></b>
<ib></ib>
e = any element i | b | ib
i = inline
b = block
ib = inlineblock
The basics:
clearfix:
Just apply clearfix to the element
<e class="">
<e style="float:left|right;">
</e>
+---+----------+----+
| |
+----------+
<e class="clearfix">
<e style="float:left|right;">
</e>
+-------------------+
| +----------+ |
| | | |
| +----------+ |
+-------------------+