This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generate class helpers for size properties such as margin, padding | |
// Usage : | |
// marginer(0.5, 3, 0.5) | |
// .mt3 will then add margin-top: 2.5rem; to the element, | |
// and so on for each side, from 0.5rem to 2,5rem with a 0.5rem step. | |
paddinger(min, max, step, counter=0) | |
.pt{counter} | |
padding-top (min rem) | |
.pb{counter} |