-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.css
90 lines (81 loc) · 1.33 KB
/
page.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
/**** TEMPORARY PAGE STYLES ****/
.box {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
background-color: #ccc;
overflow: hidden;
padding-top: 1em;
color: black;
-webkit-transform-origin: 100% 100%;
}
.box1, .box2,.box.box3 {
border-radius: 2px;
}
.box1 {
top: auto;
left: auto;
bottom: 50px;
right: 50px;
}
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
.doc {
margin: 0 auto;
max-width: 550px;
position: relative;
}
.box2 {
padding: 5%;
background: url(barn.jpg) no-repeat 20px 50px, #eee url(sky.jpg) 50% 90% no-repeat;
background-size: 100px, 66%;
left: 310px;
margin-left: -2.55%;
width: 180px;
height: 240px;
}
.box3 {
top: 350px;
width: 600px;
padding: 5%;
background-color: #666;
border: solid 10px #ccc;
color: #fff;
box-sizing: border-box;
}
.box4 {
margin: 1em;
background-color: #cc0000;
border: solid 10px #ccc;
}
@media (max-width:600px) {
.box4 {
padding: 1em;
}
}
.box5 {
padding: 3em;
left: 800px;
top: 150px;
width: 10em;
}
.box2 {
/*-webkit-transform: translateX(50px) translateY(-50px);*/
box-shadow: .5em 5px 1em .1em rgba(0,0,0,.3), 0 0 50px rgb(50,100,100) inset;
}
.box3 {
-webkit-transform: skewX(15deg);
}
.box4 {
-webkit-transform: scale(0.5);
}
.box5 {
-webkit-transform: rotate(45deg);
}
.bigFont {
font-size: 200%;
}