Global Styles in Next.js
Learn how to add global CSS styles to a Next.js application by importing them in the _app.js file.
Learn how to add global CSS styles to a Next.js application by importing them in the _app.js file.
A deep dive into the rules and edge cases of CSS margin collapse, explaining when and why vertical margins overlap.
Lea Verou's candidacy statement for the W3C TAG election, outlining her goals to improve web standards and platform technologies.
Creating pie charts in CSS using conic gradients with fallback styles for older browsers like IE11.
Explores the challenges of achieving pixel-perfect design implementation in web development across different devices and browsers.
A tutorial on integrating PostCSS with Webpack 5 to automatically add vendor prefixes and process modern CSS.
A CSS technique using a single custom property with a space value to toggle multiple style declarations on and off, enabling conditional styling.
Introducing Parsel, a tiny, permissive CSS selector parser with AST walking and specificity calculation methods.
Explains how to programmatically get a list of all CSS properties and identify shorthands and their longhands using the CSS Object Model (CSS OM).
A guide exploring various CSS styling strategies for React applications, including CSS-in-CSS, CSS-in-JS, and utility-first approaches.
A tutorial on implementing dynamic, multi-color theme switching for a website using CSS custom properties and Eleventy.
A developer's guide to implementing a user-toggleable dark mode on a website using CSS custom properties and JavaScript.
Explains LCH colors in CSS, their advantages over RGB/HSL, and browser implementation status for accessing wider color gamuts.
A developer details the CSS techniques used to create an animated rice ball dessert for a CodePen challenge, focusing on clip-paths, animations, and textures.
An article exploring the unique mindset required to write effective CSS, focusing on its declarative nature and core concepts.
A developer details the creative process of building a light switch toggle UI component using mostly CSS, gradients, and shadows.
Explores two advanced CSS techniques for creating responsive tables without duplicating content in markup, discussing their pros and cons.
The author clarifies the confusing terms 'pre-processing' and 'post-processing' in the context of CSS tools like PostCSS.
Addresses common misconceptions about PostCSS, focusing on performance claims and its capabilities compared to preprocessors like Sass.