diff options
author | Andinus <andinus@nand.sh> | 2022-06-10 00:30:39 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-10 00:30:39 +0530 |
commit | 1ac31ef10cc799f3cb7fc94d34178290a4e8dc00 (patch) | |
tree | 52bc9eca8fc2a1e230ff13b7875b5759d39c48e7 /resources/css | |
parent | 2085b4cac3a86d59360531d48251c8ab39dec0dd (diff) | |
download | crater-1ac31ef10cc799f3cb7fc94d34178290a4e8dc00.tar.gz |
CSS & Image Optimzations, Print password
- Prints password required to access. - will-change lets the browser prepare for those changes in advance. - loading="lazy" enables lazy loading on images. - column-fill: balance -- not an optimization.
Diffstat (limited to 'resources/css')
-rw-r--r-- | resources/css/style.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/css/style.css b/resources/css/style.css index a7ab098..a49327e 100644 --- a/resources/css/style.css +++ b/resources/css/style.css @@ -47,6 +47,7 @@ img { max-width: 100%; box-shadow: var(--bg-inactive) 0px 0px 0px 1px, var(--fg-inactive) 0px 0px 0px 1px inset; + will-change: opacity, transform; } input, .alert { @@ -87,6 +88,7 @@ img, .text, .heading { .gallery { column-count: auto; column-width: 384px; + column-fill: balance; } .gallery img { transform-origin: center; |