Michelle Barker 9/11/2024

Logical Properties in Size Queries

Read Original

This technical CSS article discusses the inability to use logical properties (like max-inline-size) directly in media queries, comparing it to the newer range syntax and container query support. It explains the new media query range syntax (e.g., width <= 1000px) and explores a potential workaround using the :root as a container, while noting limitations in querying block-size (height).

Logical Properties in Size Queries

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser