Quantity Queries for CSS


Styling elements based on the “more than one” and “fewer than two” thresholds is a neat trick, but a flexible “quantity query” interface would accept any quantity. That is, I should be able to style “more than or equal to n” for any value of n. Then I can style “more than or equal to 6” in our navigation menu.

Quantity Queries for CSS →

Elsewhere , , ,

2 Responses to Quantity Queries for CSS

  1. Pingback: CSS: Selecting a range of elements | Bram.us

  2. Pingback: Stylus nth-of-m-child(n,m) Selector | Bram.us

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.