-
bramus runeLi chriscoyier Both of these should work the same, but it does seem like only the size query is behaving correctly: codepen.io/miriamsuzanne/pen/vYjMjGd?editors=0100 Something like a :scope might be possible/useful? But you can also use eg .container::after if you know the container.