forked from sebastianekstrom/media-query-detection-with-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
47 lines (44 loc) · 852 Bytes
/
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
@media only screen and (min-width: 25em) {
body:after {
content: "bp-small";
display: none;
}
}
@media only screen and (min-width: 35em) {
body:after {
content: "bp-medium";
display: none;
}
}
@media only screen and (min-width: 65em) {
body:after {
content: "bp-large";
display: none;
}
}
html {
height: 100%;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
body {
margin: 0;
text-align: center;
font-size: 4vw;
font-family: sans-serif;
background: #E33D61;
color: #FFFFFF;
text-transform: uppercase;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
font-weight: normal;
}
span {
display: block;
color: #812236;
font-weight: bold;
font-size: 5.5vw;
}