Skip to content

ZeeCoder/postcss-equal-height

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Idea

Inspiration

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 work: CSS ➡ PostCSS ➡ JSON ➡ Runtime

.parent {
    /* styling */
}

.child {
    @equal-height; // or some more interop declaration
}
<div class="parent">
    <div class="child"><!-- content --></div>
    <div class="child"><!-- content --></div>
    <div class="child"><!-- content --></div>
</div>

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors