Move styles and add mixins
This commit is contained in:
parent
f1d372cceb
commit
0e47443c3e
4 changed files with 30 additions and 0 deletions
18
frontend/src/styles/mixins/effects.scss
Normal file
18
frontend/src/styles/mixins/effects.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
@mixin transition($timing) {
|
||||
-moz-transition: $timing;
|
||||
-webkit-transition: $timing;
|
||||
-o-transition: $timing;
|
||||
-ms-transition: $timing;
|
||||
transition: $timing;
|
||||
}
|
||||
@mixin appear($timing) {
|
||||
animation: appear $timing forwards;
|
||||
}
|
||||
@keyframes appear {
|
||||
From {
|
||||
opacity: 0;
|
||||
}
|
||||
To {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue