1. I wanted to use `@layer` in a #CSS demo (ironically one showing that it doesn't solve this particular use case).
2. My auto #CSP setup using #JSDom and #CleanCSS failed to parse `@layer`.
Write less, style more — master background magic at javidev (link in my profile).
mystic.js
#CSSShorthand #BackgroundCSS #FrontendTips #CodeSmart #WebStyling #DevShortcuts #CleanCSS #HTMLMagic #LearnFrontend #WebCraft
Write less, style more — master background magic at javidev (link in my profile).
mystic.js
#CSSShorthand #BackgroundCSS #FrontendTips #CodeSmart #WebStyling #DevShortcuts #CleanCSS #HTMLMagic #LearnFrontend #WebCraft
Simplify your spacing spells with one clean line — explore more at javidev (link in my profile).
mystic.js
#CSSPadding #ShorthandCSS #SpacingTips #FrontendMagic #CodeBetter #WebStyle #CleanCSS #DevHacks #UIBasics #WebTips
Simplify your spacing spells with one clean line — explore more at javidev (link in my profile).
mystic.js
#CSSPadding #ShorthandCSS #SpacingTips #FrontendMagic #CodeBetter #WebStyle #CleanCSS #DevHacks #UIBasics #WebTips
4. I removed #JSDom and replaced it with #parse5, which works with `@layer`.
5. I wanted to use `Object.groupBy` here which requires `target: "ES2024"` in #TypeScript.
6. Therefore I needed to upgrade TS.
7. Upgrading TS broke #Karma for reasons I couldn't understand.
4. I removed #JSDom and replaced it with #parse5, which works with `@layer`.
5. I wanted to use `Object.groupBy` here which requires `target: "ES2024"` in #TypeScript.
6. Therefore I needed to upgrade TS.
7. Upgrading TS broke #Karma for reasons I couldn't understand.