Rusty Locks Notes 2023

#TIL |  Stylus vs. CSS built-in functions

I think Stylus had its time, but it’s starting to be a real pain. 1 hour until I realized that it disassembles padding-top: max(30px, 3%) because it has such a function itself.

Workaround: padding-top: @css { max(30px, 3%) }

#stylus #css

You can interact with this note (applause, criticism, whatever) by mention it in one of your posts or by replying to its syndication on Mastodon, which will also be shown here as a Webmention .


No Webmentions yet...

In case your blog software can't send Webmentions, you can use this form to submit me a mention of this note...