diff options
Diffstat (limited to '_sass/_mixins.scss')
-rw-r--r-- | _sass/_mixins.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/_sass/_mixins.scss b/_sass/_mixins.scss new file mode 100644 index 0000000..f813c72 --- /dev/null +++ b/_sass/_mixins.scss @@ -0,0 +1,20 @@ +@mixin clearfix { + &:before { + display: table; + content: ""; + } + + &:after { + display: table; + clear: both; + content: ""; + } +} + +@mixin transition ($param, $time, $type) { + -webkit-transition: $param $time $type; + -moz-transition: $param $time $type; + -o-transition: $param $time $type; + -ms-transition: $param $time $type; + transition: $param $time $type; +} |