Rewrite styles to scss and use i respective components
This commit is contained in:
8
src/components/Fadeable/fadeable.scss
Normal file
8
src/components/Fadeable/fadeable.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.fadable {
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s cubic-bezier(0.54, 0, 0.28, 1);
|
||||
|
||||
&.is-faded {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user