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

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes