Logo
    Search

    media queries

    Explore "media queries" with insightful episodes like "Container Queries Explained", "Responsive Design Techniques", "Use Next-gen CSS Today (Post CSS Configs)", "CSS Proposals @when, CSS Masonry, Carets" and "Hasty Treat - CSS Units" from podcasts like ""Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (5)

    Container Queries Explained

    Container Queries Explained

    In this Hasty Treat, Scott and Wes explain what container queries are, use cases for them, new units of measurement, and possible issues with container queries.

    Show Notes

    Tweet us your tasty treats

    Responsive Design Techniques

    Responsive Design Techniques

    In this episode of Syntax, Wes and Scott talk through some modern responsive design techniques that you may not have heard of, or haven’t had a chance to use yet.

    Linode - Sponsor

    Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started.

    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.

    Freshbooks - Sponsor

    Get a 30 day free trial of Freshbooks at freshbooks.com/syntax

    Show Notes

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    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

    CSS Proposals @when, CSS Masonry, Carets

    CSS Proposals @when, CSS Masonry, Carets

    In this episode of Syntax, Wes and Scott talk about proposals to CSS including @when, CSS Masonry, CSS Caret, ENV Vars, and Media Query Ranges.

    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.

    Sanity - Sponsor

    Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

    Show Notes

     @when media(width >= 400px) and media(pointer: fine) and supports(display: flex) {   /* A */ } @else supports(caret-color: pink) and supports(background: double-rainbow()) {   /* B */ } @else {   /* C */ }  
     .grid {   display: inline-grid;   grid: masonry / repeat(3, 2ch);   border: 1px solid;   masonry-auto-flow: next; }  

    Tweet us your tasty treats

    Hasty Treat - CSS Units

    Hasty Treat - CSS Units

    In this Hasty Treat, Scott and Wes talk about CSS units (e.g. rems vs ems, px, ch, vmax), when and why you want to be using them, tips and tricks, and more!

    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 replayer and a performance monitor. Get 14 days free over at https://logrocket.com/syntax.

    Show Notes

    2:32

    • Typography with CSS units

    12:04

    • Pixels

    15:17

    • Viewport units

    15:51

    • ch units

    16:35

    • inch/cm for print

    17:19

    • Percentages

    18:10

    • Media queries

    19:41

    • Flexbox (flex-grow)

    20:28

    • CSS Grid: flexible units: 1fr 2fr

    Links

    Tweet us your tasty treats!