Added a lot of components
This commit is contained in:
parent
08f8d90f3d
commit
c94493a3c5
68 changed files with 1030 additions and 8 deletions
38
src/app/arrow-scroll-down/arrow-scroll-down.component.scss
Normal file
38
src/app/arrow-scroll-down/arrow-scroll-down.component.scss
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.arrow {
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%) rotate(0deg);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.arrow span {
|
||||
display: block;
|
||||
width: 1.5vw;
|
||||
height: 1.5vw;
|
||||
border-bottom: 5px solid white;
|
||||
border-right: 5px solid white;
|
||||
transform: rotate(45deg);
|
||||
margin: -10px;
|
||||
animation: animate 2s infinite;
|
||||
}
|
||||
|
||||
.arrow span:nth-child(2) {
|
||||
animation-delay: -0.2s;
|
||||
}
|
||||
|
||||
.arrow span:nth-child(3) {
|
||||
animation-delay: -0.4s;
|
||||
}
|
||||
|
||||
@keyframes animate {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: rotate(45deg) translate(-20px, -20px);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: rotate(45deg) translate(20px, 20px);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue