Closed Wilto closed 6 years ago
I'm stockpiling these myself here: https://kippt.com/hereinthehive/element-query-resources. Short of time this second but will feed back with any specifics that are worth a read.
I thought I was the only one thinking about these things when I wrote breakpoints.js. There is a demo page where I feebly attempt to show how it works (hosted on github pages; seems to load slowly some times).
The benefits I've observed in using breakpoints.js are 1) all breakpoints defined cleanly in one place, 2) styles grouped into modifier classes (this is nice for design, development, testing), 3) allows any kind of javascript logic to be executed when entering or exiting a breakpoint.
Both 1 and 2 could be accomplished with @include
and element queries. And we'd still be on our own for 3.
Per the back-and-forth with @keithjgrant in the kick-off: I'm gonna take these and a bunch of other links that I’ve ferreted away in my Pinboard over the years, and try to assemble a first draft of a “get-up-to-speed” summary/further reading page, for the wiki.
(And then close this.)
Dumped everything in here into https://github.com/WICG/cq-usecases/wiki/Raw-informative-link-list for now; closing.
Getting a list of articles on the subject going.
Keep ’em coming.