Save and Share: When CSS is bundled into one file, even after tree-shaking, it still contains a lot of unused CSS because of different @media contexts (mobile, tablet, desktop, dark/light/other themes, etc.). It’s bad for Core Web Vitals: First Input Delay (FID), Largest Contentful Paint (LCP), Cumulative Layout Shift (CLS), as well as other vital… Continue reading Split your CSS to @media-related files to improve performance significantly| NEDNEX
While there’s no truly native way to build a light/dark color scheme switcher yet, we all try our best to build something that comes close. Some native HTML options are often overlooked in favor of hacky solutions. Let’s make them well-known and widely used while we wait for the proper built-in one.| pepelsbey.dev