mirror of
https://github.com/LJ5O/website.git
synced 2026-08-11 22:54:46 +02:00
New white scroll arrow
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Name div -->
|
||||
|
||||
<div id="scroll_arrow">
|
||||
<img :src="arrowSvg"/>
|
||||
</div>
|
||||
</div> <!-- Welcome Div -->
|
||||
</template>
|
||||
|
||||
@@ -26,6 +30,7 @@
|
||||
import mailSvg from '@/assets/img/mail.svg';
|
||||
import lineImg from '@/assets/img/line.png';
|
||||
import githubSvg from '@/assets/img/github.svg';
|
||||
import arrowSvg from '@/assets/svg/arrow_down.svg';
|
||||
|
||||
const i18n = useI18n();
|
||||
|
||||
@@ -106,4 +111,26 @@
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#scroll_arrow{
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 40px;
|
||||
height: 65px;
|
||||
bottom: 5%;
|
||||
animation-name: arrow_floating;
|
||||
animation-duration: 2s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
#scroll_arrow img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@keyframes arrow_floating {
|
||||
from {bottom:5%;}
|
||||
to {bottom: 8%;}
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user