“Element queries are a new way of thinking about responsive web design where the responsive conditions apply to elements on the page instead of the width or height of the browser.
Unlike CSS @media queries, @element Queries are aware of more than just the width and height of the browser, you can write responsive conditions for a number of different situations like how many characters of text or child elements an element contains.
Another concept that element queries brings to CSS is the idea of ‘scoping’ your styles to one element in the same way that JavaScript functions define a new scope for the variables they contain.”
min-width
min-width in px, min-width in % max-width
max-width in px, max-width in % min-height
min-height in px, min-height in % max-height
max-height in px, max-height in % min-characters
on block elements, on form inputs max-characters
on block elements, on form inputs min-lines
min-lines demo max-lines
max-lines demo min-children
min-children demo max-children
max-children demo min-scroll-y
min-scroll-y demo max-scroll-y
max-scroll-y demo min-scroll-x
min-scroll-x demo max-scroll-x
max-scroll-x demo orientation
orientation demo min-aspect-ratio
min-aspect-ratio demo max-aspect-ratio
max-aspect-ratio demo $this
$this demo $parent
$parent demo $root
$root demo $prev
$prev demo $next
$next demo What are particle animations? Particle network animations in JavaScript typically involve creating visual representations of… Read More
BOOKING SOLUTIONS 202x This is my take on a subset of booking, appointment, PMS or… Read More
THE GOAL Create a system cron for WordPress, that is accessible and can be easily… Read More
2024, what's cooking? Slowly getting into the 2024 spirit. 3 projects coming to a close… Read More
Short look back at 2023 This has been a busy and interesting year. I am… Read More
Elementor Pro provides grid containers as an experimental feature. The options provided are limited, when… Read More