/
css_consistency.txt
64 lines (53 loc) · 1.62 KB
/
css_consistency.txt
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
/* this test is shared with css, less, scss, and stylus to confirm consistent highlighting */
div {
-webkit-animation-name: example;
-moz-animation-name: example;
-ms-animation-name: example;
-o-animation-name: example;
animation-name: example;
}
@-webkit-keyframes example {}
@-moz-keyframes example {}
@-ms-keyframes example {}
@-o-keyframes example {}
@keyframes example {}
div, p, table { width: 30px; }
div { width:0 !important; }
h1, h2, figcaption, aside, main, form, footer {}
a:visited { color: blue; }
div::after { content: "test"; }
div::before { content: open-quote; }
span:nth-child(33) { color:red; }
p:lang(en) {}
:lang(en) {}
a[href*="example"] {}
[class^="top"] {}
@media (not(hover)) {}
@media not all and (max-width: 600px) {}
@media only screen and (min-width: 900px) and (color-gamut: p3) {}
@media
only screen and (min-width: 100px),
not all and (min-width: 100px),
not print and (min-height: 100px),
(color),
(min-height: 100px) and (max-height: 1000px),
handheld and (orientation: landscape)
{}
@font-face {
font-family: "Open Sans";
font-display: swap;
font-stretch: 50% 200%;
font-style: oblique 20deg 50deg;
font-weight: 100 400;
font-variant: no-common-ligatures proportional-nums;
font-feature-settings: "liga" 0;
font-variation-settings: "xhgt" 0.7;
/* unicode-range: U+0025-00FF, U+4??; */
/* it's not 100% clear how url and format should be highlighted universally */
/* src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
url("/fonts/OpenSans-Regular-webfont.woff") format("woff"); */
}
main {
--color: red;
color: var(--color);
}