add browser specific optimizations
- firefox has a problem with flashes of unstyled content - chrome only supports mask-image without -webkit prefix very recently
This commit is contained in:
parent
42ba20a075
commit
c96af40b2d
@ -24,6 +24,8 @@ html::before {
|
|||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
||||||
background: conic-gradient(from 0deg in hsl longer hue, hsl(0deg 100% 12.5%) 0 0);
|
background: conic-gradient(from 0deg in hsl longer hue, hsl(0deg 100% 12.5%) 0 0);
|
||||||
|
-webkit-mask-image: url("pattern.svg");
|
||||||
|
-webkit-mask-size: 5rem;
|
||||||
mask-image: url("pattern.svg");
|
mask-image: url("pattern.svg");
|
||||||
mask-size: 5rem;
|
mask-size: 5rem;
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
|
||||||
<link href="index.css" rel="stylesheet"/>
|
<link href="index.css" rel="stylesheet"/>
|
||||||
|
<script>
|
||||||
|
/*to prevent Firefox FOUC, this must be here*/
|
||||||
|
let FF_FOUC_FIX;
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main class="content">
|
<main class="content">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user