

Use Next-gen CSS Today (Post CSS Configs)
Sep 12, 2022
Dive into the world of next-gen CSS with insights on how PostCSS can transform your workflow! Discover the power of plugins for importing, nesting, and utilizing CSS variables. The hosts share their excitement about media query ranges and custom media queries that streamline designs. Plus, hear about Prismic, a tool for building dynamic websites with ease, and get a sneak peek into the Sentry conference for developers. Join the conversation on modern CSS tools and enhance your coding experience!
AI Snips
Chapters
Transcript
Episode notes
PostCSS Import
- Use PostCSS Import for cleaner CSS imports.
- It compiles imports, moving code between files like Sass, improving performance over native CSS imports.
CSS File Organization
- Organize CSS into smaller, manageable files like themes, utilities, base, colors, variables, headings, and forms.
- This improves code organization and maintainability.
PostCSS Nesting
- Choose the appropriate PostCSS nesting plugin based on your project's needs.
- For existing Sass projects, the Sass-style nesting plugin simplifies migration; for new projects, the spec-compliant nesting plugin is recommended.