forked from Dolgik89/-media-screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
56 lines (47 loc) · 825 Bytes
/
index.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
.transition,
body {
-webkit-transition: all .3s;
transition: all .3s;
}
body {
margin: 10px 0;
width: 100%;
height: 120px;
}
@media only screen and (max-width: 1024px) {
body {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
body {
background: url("../images/pict.png") center center/cover no-repeat;
}
}
@media only screen and (max-width: 640px) {
body {
height: 50%;
}
body {
font-size: 12px;
}
}
@media only screen and (max-width: 548px) {
body {
height: 10%;
}
}
@media only screen and (max-width: 300px) {
body {
height: 100%;
}
}
@media only screen and (min-width: 640px) and (max-width: 1024px) {
body {
background: url("../images/pict1.png") center center/cover no-repeat;
}
}
@media print {
body {
height: 10cm;
}
}