This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/sass/underscores/mixins/_mixins-master.scss

23 lines
368 B
SCSS
Raw Normal View History

2014-12-10 18:29:31 +00:00
// Rem output with px fallback
@mixin font-size($sizeValue: 1.6) {
font-size: ($sizeValue * 10) + px;
font-size: $sizeValue + rem;
}
// Center block
@mixin center-block {
display: block;
margin: 0 auto;
}
// Clearfix
@mixin clearfix() {
content: "";
display: table;
}
// Clear after (not all clearfix need this also)
@mixin clearfix-after() {
clear: both;
}