Asriel Dreemurr|Otherkin (θ∆)|Nonbinary ⚧︎|Femme|Panromantic|Poly|Gay ⚣|Disabled|どうぞよろしくとてもあなた! 私の日本語は下手、ごめんなさい!|♡: Kaoru Kagomura, Axel Hugsky|#BLM|#VTuberEN

monster? you bet! otherkin.


Homepage
asrie.lol/
Steam Wishlist
steamed.asrie.lol/

Now any value in css can have "min-" and "max-" muahahahaha!

How do you use it? Simple! In place of your unit size, put:

clamp(min-size, size, max-size)

For example:

font-size: clamp(1rem, 2.5vw, 24px);

Results in this text scaling to 2.5% the viewport width, with a max size of 24px, and a minimum of the browser default.

Use this wherever! width, height, border, and more! Anywhere a CSS unit of measurement is required! It even supports nested math, no calc()! Check it out!

CSS Crimes never looked so good. And scalable.


You must log in to comment.