An open API service indexing awesome lists of open source software.

https://github.com/zeecoder/postcss-equal-height

PostCSS plugin + JS runtime combination to ensure equal height of certain elements.
https://github.com/zeecoder/postcss-equal-height

Last synced: about 1 month ago
JSON representation

PostCSS plugin + JS runtime combination to ensure equal height of certain elements.

Awesome Lists containing this project

README

          

# Idea

[Inspiration](https://github.com/eqcss/eqcss/issues/59#issuecomment-289527014)

In the following example, all divs with "child" classes would be the same
height, if the JS runtime is included.
Could work the same way
[Container Queries](https://github.com/ZeeCoder/container-query) work:
CSS ➡ PostCSS ➡ JSON ➡ Runtime

```css
.parent {
/* styling */
}

.child {
@equal-height; // or some more interop declaration
}
```

```html






```