Skip to content

Commit

Permalink
fix transition & placeholder mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniker committed Feb 20, 2018
1 parent bd033da commit 030ab20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/css/framy.min.css

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/scss/mixins/utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
}
}

@mixin transition($args: all .3s ease 0s) {
@mixin transition($args...) {
@if length($args) == 0 {
$args: all .3s ease 0s;
}
-webkit-transition: $args;
transition: $args;
}
Expand All @@ -39,7 +42,8 @@
&::-webkit-input-placeholder,
&::-moz-placeholder,
&:-ms-input-placeholder,
&:-moz-placeholder {
&:-moz-placeholder,
&::placeholder {
color: $color;
}
}
Expand Down

0 comments on commit 030ab20

Please sign in to comment.