forked from KarlK90/flexible-squares
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflexible-squares.css
56 lines (56 loc) · 1004 Bytes
/
flexible-squares.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
.fs-cell {
float: left;
position: relative;
}
.fs-cell .fs-content {
display: block;
position: absolute;
}
.fs-cell.fs-rows-12 {
width: 8.33333333%;
padding-bottom: 8.33333333%;
}
.fs-cell.fs-rows-11 {
width: 9.09090909%;
padding-bottom: 9.09090909%;
}
.fs-cell.fs-rows-10 {
width: 10%;
padding-bottom: 10%;
}
.fs-cell.fs-rows-9 {
width: 11.11111111%;
padding-bottom: 11.11111111%;
}
.fs-cell.fs-rows-8 {
width: 12.5%;
padding-bottom: 12.5%;
}
.fs-cell.fs-rows-7 {
width: 14.28571429%;
padding-bottom: 14.28571429%;
}
.fs-cell.fs-rows-6 {
width: 16.66666667%;
padding-bottom: 16.66666667%;
}
.fs-cell.fs-rows-5 {
width: 20%;
padding-bottom: 20%;
}
.fs-cell.fs-rows-4 {
width: 25%;
padding-bottom: 25%;
}
.fs-cell.fs-rows-3 {
width: 33.33333333%;
padding-bottom: 33.33333333%;
}
.fs-cell.fs-rows-2 {
width: 50%;
padding-bottom: 50%;
}
.fs-cell.fs-rows-1 {
width: 100%;
padding-bottom: 100%;
}