Masonry and reading order

By Chris Coyier on

Two months back there was a bit of a hubbub about masonry layout in CSS with Jen at Apple making a case and Rachel at Google agreeing those use cases would be great, but should be based on display: masonry; not display: grid;. Then: nothing. Web standards just move at the pace that it moves […]

Nesting/Overriding Properties in CSS

By Chris Coyier on

Some things you just can’t undo in CSS. But, perhaps unintuitively, that does work with visibility. Ben Nadel makes the point that pointer-events is another one of those properties that allows you to “undo” what a parent has set. It’s like pointer-events just cascades down to descendent elements and you override it, but some properties […]

Animating the Dialog Element

By Matthew Morete on

It might seem like you could just set a transition on the opacity of the dialog element in CSS from 0 to 1, but it doesn’t work. You’ll need to learn about @starting-style, and the overlay and allow-discrete keywords.

CSS… 5?

By Chris Coyier on

Some of you likely worked through the “CSS3” thing. It was huge. People damn near stopped saying “CSS” for a few years there. Everything was “HTML5” and “CSS3”, such was the success of that marketing effort. There was a logo and everything. It was a little cheesy, but it was a good thing. People saw […]