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
File was created | 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 | } | ||
49 |
src/styles.scss
1 | @import './assets/scss/animation.scss'; | ||
2 | |||
1 | .blur { | 3 | .blur { |
2 | filter: blur(10px); | 4 | filter: blur(10px); |
3 | -webkit-filter: blur(10px); | 5 | -webkit-filter: blur(10px); |
4 | } | 6 | } |
5 | 7 | ||
6 | .disable-user-select { | 8 | .disable-user-select { |
7 | -webkit-user-select: none; | 9 | -webkit-user-select: none; |
8 | -moz-user-select: none; | 10 | -moz-user-select: none; |
9 | -ms-user-select: none; | 11 | -ms-user-select: none; |
10 | user-select: none; | 12 | user-select: none; |
11 | } | 13 | } |
12 | 14 | ||
13 | .blue-gradient{ | 15 | .blue-gradient{ |
14 | background: linear-gradient(0deg, rgb(20,56,68),rgb(252, 252, 252)); | 16 | background: linear-gradient(0deg, rgb(20,56,68),rgb(252, 252, 252)); |
15 | } | 17 | } |
16 | 18 | ||
17 | .rounded { | 19 | .rounded { |
18 | border-radius: 1.5rem !important; | 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 | } | ||
20 | 33 |