Chip Cullen

Useful SASS mixin - "prop-query"

Just wanted to share a little mixin that I came up with that’s pretty darned useful. I call it “prop-query”: @mixinprop-query($min-size, $property, $value) { @media screen and (min-width: $min-size) { #{$property}: $value; } } It’s a pretty simple idea - it lets you specify a one-off rule that you want to change on a per-media query basis.…

Keep reading Useful SASS mixin - "prop-query"