1 | body {
|
2 | font-family: monospace;
|
3 | height: 100vh;
|
4 | width: 100vw;
|
5 | text-align: center;
|
6 | }
|
7 |
|
8 | p {
|
9 | max-width: 660px;
|
10 | margin: 0 auto;
|
11 | font-weight: 300;
|
12 | font-size: 1.2rem;
|
13 | line-height: 2;
|
14 | text-align: left;
|
15 | }
|
16 |
|
17 | h1 {
|
18 | font-size: 4rem;
|
19 | display: inline-block;
|
20 | font-weight: 100;
|
21 | margin: 1rem auto;
|
22 | padding: 1rem 2rem;
|
23 | }
|
24 |
|
25 | @supports (background: paint(something)) {
|
26 | h1 {
|
27 | |
28 |
|
29 |
|
30 |
|
31 | --extra-scallopRadius: 15;
|
32 | --extra-scallopColor: #8266ff;
|
33 | --extra-scallopWeight: 3;
|
34 |
|
35 | background: paint(extra-scallopedBorder);
|
36 | line-height: 1.5;
|
37 | }
|
38 |
|
39 | i {
|
40 | --extra-scallopRadius: 5;
|
41 | --extra-scallopColor: #00eeff;
|
42 | --extra-scallopWeight: 1;
|
43 |
|
44 |
|
45 | padding: 0.75rem;
|
46 |
|
47 | background: paint(extra-scallopedBorder);
|
48 | }
|
49 | } |
\ | No newline at end of file |