sebnitu / BaseWeb

A fresh front-end development framework.

Home Page:https://getbaseweb.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show and Hide classes using the media-query variable map

sebnitu opened this issue · comments

Just thought I could probably create an automatic class creation mixin for adding show/hide classes for each of the break points in $breakpoints variable map. This would take the key and use it as the class for when something would be shown or hidden:

// Hide only in this breakpoint
.hide-small { }
// Show only in this breakpoint
.show-small { }