Logo
    Search

    postcss

    Explore "postcss" with insightful episodes like "Use Next-gen CSS Today (Post CSS Configs)" and "Writing Good CSS" from podcasts like ""Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (2)

    Use Next-gen CSS Today (Post CSS Configs)

    Use Next-gen CSS Today (Post CSS Configs)

    In this Hasty Treat, Scott and Wes talk about next generation CSS that you can use today with PostCSS including importing, nesting, variables, media query ranges, custom media queries, and more.

    Prismic - Sponsor

    Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

    Sentry - Sponsor

    If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

    Show Notes

     "postcss-import"  @import './elements/headings.css';  
     "postcss-media-minmax"  @media screen and (width >= 500px) and (width <= 1200px)  
     "postcss-custom-media"  @custom-media --below_small (width < env(--small_bp));  @media (--above_small) {}  
     "postcss-env-function"  env(--small_bp)  
    • 20:12 Color Function and Color Function Notation
     /* color-function */ p {   color: color(display-p3 1 0.5 0);   color: color(display-p3 1 0.5 0 / .5); }  

    Tweet us your tasty treats

    Writing Good CSS

    Writing Good CSS

    In this episode of Syntax, Scott and Wes talk about writing good CSS.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Netlify - Sponsor

    Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up netlify.com/syntax for more info.

    Show Notes

    02:11 - Frameworks

    13:37 - Preprocessors

    19:42 - Tools

    34:19 - Stylint

    • Stylint
    • More than just a basic linter
    • Capable of complex rules in your CI process - i.e. if you are using a color, make sure it’s a CSS variable

    36:37 - Removing unwanted CSS

    41:17 - Writing maintainable CSS / scoping solutions

    • Component-based
      • CSS Modules
    • Naming Convention Based
    • CSS Variables
      • Powerful when utilized with things like calc() to avoid out of sync values
    • Know which browsers you need to support

    Links

    Syntax Highlight

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats!