ciser
Version:
Functional CSS, help quickly build and design new UI without writing css.
56 lines (44 loc) • 1.39 kB
CSS
/*
BORDER STYLES
Docs: http://tachyons.io/docs/themes/borders/
Depends on base border module in _borders.css
Base:
b = border-style
Modifiers:
--none = none
--dotted = dotted
--dashed = dashed
--solid = solid
Media Query Extensions:
-ns = not-small
-m = medium -ml = mobile landscape
-l = large
*/
.b--dotted { border-style: dotted; }
.b--dashed { border-style: dashed; }
.b--solid { border-style: solid; }
.b--none { border-style: none; }
@media screen and (min-width: 30em) {
.b--dotted-ns { border-style: dotted; }
.b--dashed-ns { border-style: dashed; }
.b--solid-ns { border-style: solid; }
.b--none-ns { border-style: none; }
}
@media screen and (min-width: 30em) and (max-width: 60em) {
.b--dotted-m { border-style: dotted; }
.b--dashed-m { border-style: dashed; }
.b--solid-m { border-style: solid; }
.b--none-m { border-style: none; }
}
@media screen and (max-width: 60em) and (orientation: landscape) {
.b--dotted-ml { border-style: dotted; }
.b--dashed-ml { border-style: dashed; }
.b--solid-ml { border-style: solid; }
.b--none-ml { border-style: none; }
}
@media screen and (min-width: 60em) {
.b--dotted-l { border-style: dotted; }
.b--dashed-l { border-style: dashed; }
.b--solid-l { border-style: solid; }
.b--none-l { border-style: none; }
}