-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.styl
55 lines (52 loc) · 1.11 KB
/
index.styl
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
/**
* @file flex-stylus-class
* @author zhangsiyuan([email protected])
*/
// for android 4.3-
.c__flex > *
display: block
.c__flex
display flex
flex-direction row
height 100%
width 100%
&.c__flex-auto > *
flex auto
&.c__flex-equal > *
flex 1 1 0
&.c__vertical
flex-direction column
&.c__wrap-reverse
flex-wrap wrap-reverse
&.c__wrap
flex-wrap wrap
&.c__start
justify-content flex-start
&.c__end
justify-content flex-end
&.c__center
justify-content center
&.c__between
justify-content space-between
&.c__around
justify-content space-around
&.c__top
align-items flex-start
&.c__bottom
align-items flex-end
&.c__middle
align-items center
&.c__baseline
align-items baseline
&.c__stretch
align-items stretch
& .i__top
align-self flex-start
& .i__bottom
align-self flex-end
& .i__middle
align-self center
& .i__baseline
align-self baseline
& .i__stretch
align-self stretch