├── .gitignore ├── demo ├── dist │ ├── demo.css │ ├── index.html │ └── demo.js └── src │ ├── test.css │ └── index.js ├── nwb.config.js ├── LICENSE ├── package.json ├── src └── index.js ├── README.md ├── umd ├── react-container-query-container.min.js ├── react-container-query-container.js └── react-container-query-container.min.js.map ├── es6 └── index.js └── lib └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | /coverage 2 | /node_modules 3 | npm-debug.log 4 | -------------------------------------------------------------------------------- /demo/dist/demo.css: -------------------------------------------------------------------------------- 1 | .Demo{background:cyan}.Demo:container(width>= 15rem){background:#f0f}.Demo:container(width>= 20rem){background:#ff0} -------------------------------------------------------------------------------- /demo/src/test.css: -------------------------------------------------------------------------------- 1 | .Demo { 2 | background: cyan; 3 | } 4 | 5 | .Demo:container(width >= 15rem) { 6 | background: magenta; 7 | } 8 | 9 | .Demo:container(width >= 20rem) { 10 | background: yellow; 11 | } 12 | -------------------------------------------------------------------------------- /demo/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |