startae / hagrid

:straight_ruler: Hagrid is a mixin library for responsive websites and web applications.
https://hagrid.netlify.com/
MIT License
30 stars 3 forks source link

Margin/Modifier-Selector Variable #22

Closed fspoettel closed 9 years ago

fspoettel commented 9 years ago

Right now, the output code looks like this:

.grid > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

It would be nice to be able to manipulate > * via a variable to use a selector that is not as costly, e.g. .list-item or smth if wanted.