CSS Scope and Mixins, by @chriscoyier and @mia and others (@OddBird):
CSS Scope and Mixins, by @chriscoyier and @mia and others (@OddBird):
Thoughts on Native CSS Mixins, by @chriscoyier (@frontendmasters.com):
https://frontendmasters.com/blog/thoughts-on-native-css-mixins/
Thoughts on Native CSS Mixins
https://fed.brid.gy/r/https://frontendmasters.com/blog/thoughts-on-native-css-mixins/
Unconditional Love for Conditional CSS, by @geoff:
https://geoffgraham.me/unconditional-love-for-conditional-css/
#css #functions #conditionals #mixins #containerqueries #transitions
Vue: Composables и TS это вам не Mixins и JS. С ними сложнее
Пришел к хитрому паттерну. Делюсь. Будет полезен тем кому нравиться или приходится работать с Vue. В подходящей ситуации он сэкономит кучу времени и поможет избежать дублирования кода. Поехали!
https://habr.com/ru/articles/927214/
#mixins #composables #vue #javascript #typescript #ts #js #props #events #оптимизация_кода
Tailwind’s “@ apply” Feature Is Better Than It Sounds, by @zellwk.bsky.social (@csstricks):
https://css-tricks.com/tailwinds-apply-feature-is-better-than-it-sounds/
Most of the time, people showcase Tailwind's @apply feature with one of Tailwind's single-property utilities (which changes a single CSS declaration). When showcased this way, @apply doesn't sound promising at all. So obviously, nobody wants to use it. Personally, I think Tailwind's @apply feature is better than described.
#Development #Explorations
I cannot wait for the CSS @function · How it would enhance an excellent CSS trick https://ilo.im/161lp5
_____
#ModernCSS #Accessibility #Functions #Mixins #Framework #Library #Browser #WebDev #Frontend #CSS