-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.css
68 lines (61 loc) · 1.26 KB
/
input.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
:root {
--siteBasisMobile: 375;
--siteBasisDesktop: 1440;
--siteBasis: var(--siteBasisMobile);
--siteMaxMobile: 600;
--siteMaxDesktop: 1600;
--siteMax: var(--siteMaxMobile);
}
div.border {
width: 150pxv;
padding: 12pxv 100pxv 13pxv 15pxv;
border: 5pxv solid blue;
}
div.absolute {
position: absolute;
top: 50pxv;
right: -99pxv;
width: 490pxv;
height: 44.5px;
border: 1pxv solid green;
background: palegoldenrod;
}
div.negativeval {
border: 4pxv solid brown;
background: paleturquoise;
width: 300pxv;
height: 200pxv;
margin-left: -30pxv;
}
div.decimal {
width: 845.34534pxv;
height: 35.3344pxv;
background: lightpink;
}
@media (min-width: 1024px) {
* {
--siteBasis: var(--siteBasisDesktop);
--siteMax: var(--siteMaxDesktop);
}
div {
border: 5px solid green;
}
}
div.bobo {
width: 50.5pxv;
}
div.shorthand {
background: tomato;
color: #fff;
padding: 40pxv 20pxv 100pxv 50pxv;
margin: 400pxv 200pxv 99pxv 200pxv;
}
div.bordertest {
border: 15pxv solid pink;
}
div.weird-stuff {
margin: 20pxv calc(20pxv + calc(10pxv + 5%)) 50pxv;
}
div.zero-test {
margin: 20pxv 0pxv 50pxv;
}