#function
3 条发现 · 精选自开放网络的发现,按时间从新到旧。
-
Embracing Playful Imperfection With The CSS `random()` Function
Design systems thrive on consistency, so where does randomness fit in? Through playful demos of organic typography, bouncing letters, and splayed cards, Brecht De Ruyte shows how the new CSS `random()` function brings a little imperfection to the web without JavaScript libraries or preprocessor loops that generate hundreds of lines of static CSS.
Smashing Magazine · EN
-
Operator and Function Overloading in Custom Python Classes
Use Python operator overloading to make built-in functions and operators work with your own classes, and write more Pythonic code.
Real Python · EN