Commit f9a26bd764b85ad94469eb8908f911da0d74c025
1 parent
0579054379
Exists in
master
Agregada clase css.
Showing
2 changed files
with
61 additions
and
0 deletions
Show diff stats
src/assets/scss/animation.scss
... | ... | @@ -0,0 +1,48 @@ |
1 | +.fade-in { | |
2 | + margin-top: 25px; | |
3 | + font-size: 21px; | |
4 | + text-align: center; | |
5 | + animation: fadein 1s; | |
6 | + -moz-animation: fadein 1s; /* Firefox */ | |
7 | + -webkit-animation: fadein 1s; /* Safari and Chrome */ | |
8 | + -o-animation: fadein 1s; /* Opera */ | |
9 | +} | |
10 | + | |
11 | +@keyframes fadein { | |
12 | + from { | |
13 | + opacity: 0; | |
14 | + } | |
15 | + to { | |
16 | + opacity: 1; | |
17 | + } | |
18 | +} | |
19 | + | |
20 | +@-moz-keyframes fadein { | |
21 | + /* Firefox */ | |
22 | + from { | |
23 | + opacity: 0; | |
24 | + } | |
25 | + to { | |
26 | + opacity: 1; | |
27 | + } | |
28 | +} | |
29 | + | |
30 | +@-webkit-keyframes fadein { | |
31 | + /* Safari and Chrome */ | |
32 | + from { | |
33 | + opacity: 0; | |
34 | + } | |
35 | + to { | |
36 | + opacity: 1; | |
37 | + } | |
38 | +} | |
39 | + | |
40 | +@-o-keyframes fadein { | |
41 | + /* Opera */ | |
42 | + from { | |
43 | + opacity: 0; | |
44 | + } | |
45 | + to { | |
46 | + opacity: 1; | |
47 | + } | |
48 | +} |
src/styles.scss
1 | +@import './assets/scss/animation.scss'; | |
2 | + | |
1 | 3 | .blur { |
2 | 4 | filter: blur(10px); |
3 | 5 | -webkit-filter: blur(10px); |
... | ... | @@ -17,3 +19,14 @@ |
17 | 19 | .rounded { |
18 | 20 | border-radius: 1.5rem !important; |
19 | 21 | } |
22 | + | |
23 | +.card-effect { | |
24 | + &:active{ | |
25 | + background-color: #c9c9c9b3 !important; | |
26 | + transition: background-color 0.5s; | |
27 | + } | |
28 | + &:focus{ | |
29 | + background-color: #c9c9c9b3 !important; | |
30 | + transition: background-color 0.5s; | |
31 | + } | |
32 | +} |