forked from jaukia/zoomooz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (78 loc) · 1.46 KB
/
style.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
/* these are not necessary */
html {
background-color:white;
overflow:hidden;
}
body {
background-color:white;
margin:0;
padding:0;
width:100%;
height:100%;
}
div {
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
#item1 {
background-color:#fcc;
position:absolute;
left:50px;
top:50px;
width:300px;
height:200px;
border:1px solid red;
}
#item2 {
background-color:#ccf;
position:absolute;
bottom:40px;
right:40px;
width:300px;
height:200px;
border:1px solid blue;
}
#item3 {
background-color:#cfc;
position:absolute;
top:0px;
right:100px;
width:300px;
height:200px;
border:1px solid green;
-webkit-transform: rotate(10deg) translate(0px,0px);
-moz-transform: rotate(10deg) translate(0px,0px);
-o-transform: rotate(10deg) translate(0px,0px);
}
#item3b {
background-color:#cff;
position:absolute;
top:0px;
left:0px;
width:200px;
height:100px;
border:1px solid cyan;
-webkit-transform: rotate(10deg) translate(200px,200px);
-moz-transform: rotate(10deg) translate(200px,200px);
-o-transform: rotate(10deg) translate(200px,200px);
}
#item2b {
background-color:#99f;
position:absolute;
bottom:80px;
right:80px;
width:100px;
height:100px;
border:1px solid blue;
}
#item4 {
background-color:#ffc;
position:absolute;
bottom:200px;
left:200px;
width:200px;
height:200px;
border:1px solid yellow;
-webkit-transform: rotate(30deg) skew(20deg);
-moz-transform: rotate(30deg) skew(20deg);
-o-transform: rotate(30deg) skew(20deg);
}