-
Notifications
You must be signed in to change notification settings - Fork 2
/
css-debug.css
73 lines (71 loc) · 2.25 KB
/
css-debug.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
/*
CSS media queries debug CSS by cleatsandcode.
All sizes provided are merely rough guides for devices. Feel free to customise, add and remove as needed.
*/
#viewportInfo{font-family:sans-serif; font-size:10px; position:absolute; top:0px; left:0px;width:100%; min-height:25px; display:block;background-color: rgba(0, 0, 0, 0.5); line-height:25px; margin:0 auto;}
#sizeInfo{position: relative; float:right; right:30px;}
/*Normal Screens*/
@media only screen and (min-width: 1025px){
body::before{
content: "Normal Screen (> 1024) active";
font-weight: bold;
display: block;
text-align: center;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 99;
font-family:sans-serif; line-height; font-size:12px; line-height:25px; color:#fff;
}
#viewportInfo{background-color: rgba(0, 0, 0, 0.5);}
}
/*Tablet Landscape*/
@media only screen and (min-width: 900px) and (max-width: 1024px){
body::before{
content: "Tablet landscape media query (900 - 1024) active";
font-weight: bold;
display: block;
text-align: center;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 99;
font-family:sans-serif; line-height; font-size:12px; line-height:25px; color:#fff;
}
#viewportInfo{background-color: rgba(28, 102, 176, 0.5);}
}
/*Tablet Portrait*/
@media only screen and (min-width: 768px) and (max-width: 899px){
body::before{
content: "Tablet portrait media query (768 - 899) active";
font-weight: bold;
display: block;
text-align: center;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 99;
font-family:sans-serif; line-height; font-size:12px; line-height:25px; color:#fff;
}
#viewportInfo{background-color: rgba(28, 149, 176, 0.5);}
}
/*Mobile*/
@media only screen and (max-width: 767px){
body::before{
content: "Mobile (0 - 767) active";
font-weight: bold;
display: block;
text-align: left;
font-family:sans-serif; line-height; font-size:12px; line-height:25px; color:#fff;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 99;
}
#viewportInfo{background-color: rgba(186, 15, 15, 0.5);}
}
*/end the debug css*/