container-query
container-query copied to clipboard
A PostCSS plugin and Javascript runtime combination, which allows you to write container queries in your CSS the same way you would write media queries.
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1. Changelog *Sourced from [js-yaml's changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md).* > 3.13.1 / 2019-04-05 > ------------------- > > - Fix possible code execution in (already unsafe) `.load()`, [#480](https://github-redirect.dependabot.com/nodeca/js-yaml/issues/480). >...
Will this be working for Preact ? I have tried for long time https://preactjs.com/
While container query data is extracted from the css with PostCSS, we could throw an error if the code would obviously cause a loop. Basically, if a container query on...
Instead of the very unconventional `@define-container` syntax, it should be more like a regular declaration, like: ```css .Container { container: true; } ```
It's [surprisingly simple](https://codesandbox.io/s/4qzlxk55j7), and hooks are almost out!
It might worth reconsidering the polyfilling issue. Originally I shipped all necessary polyfills to make it easier to adapt the library, but that comes with some cons: - Shipping the...
Assume a grid, with items popping in and out of existence, where grid is the container, and the items should have a specific with. When the items are injected, styles...
This would probably require a lot more thought put into it, but it should be possible to apply styles only on hover / focus etc events. Example: Increasing font-size on...