mfbs

CSS microframework
git clone https://git.ce9e.org/mfbs.git

commit
b266ecfd16b7e268cd03c718fd4bb5dc6278270d
parent
fc81e24f9090d9944d09716e19383e5291b03005
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-04-04 19:48
fix aspect ratio of img/video with width/height attributes

see https://web.dev/articles/optimize-cls

Diffstat

M sass/base.scss 1 +

1 files changed, 1 insertions, 0 deletions


diff --git a/sass/base.scss b/sass/base.scss

@@ -11,6 +11,7 @@
   11    11 img,
   12    12 video {
   13    13     max-inline-size: 100%;
   -1    14     block-size: auto;
   14    15 }
   15    16 
   16    17 p, address, blockquote, pre, table, dl, ul, ol, figure, fieldset {