For anyone else who didn't know - we have modulo in #CSS (for real! no need to emulate it https://css-tricks.com/using-absolute-value-sign-rounding-and-modulo-in-css-today/ anymore! πŸŽ‰)

See πŸ‘‰ https://developer.mozilla.org/en-US/docs/Web/CSS/mod

Supported cross-browser since mid-May '24. Support test for CSS mathematical functions/ const https://codepen.io/thebabydino/pen/yLRBJXP

Comments