mirror of
https://github.com/johnggli/linktree.git
synced 2026-08-17 06:56:04 +01:00
feat: add profile quote with animation
This commit is contained in:
@@ -13,7 +13,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<img id="profilePicture" src="https://avatars0.githubusercontent.com/u/43749971" alt="Profile Picture">
|
<img id="profilePicture" src="https://avatars0.githubusercontent.com/u/43749971" alt="Profile Picture">
|
||||||
|
|
||||||
<p id="userName">@JohnEmerson1406</p>
|
<div id="userName">
|
||||||
|
@JohnEmerson1406
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="links">
|
<div id="links">
|
||||||
<a class="link" href="https://github.com/JohnEmerson1406" target="_blank"><i
|
<a class="link" href="https://github.com/JohnEmerson1406" target="_blank"><i
|
||||||
@@ -30,6 +32,10 @@
|
|||||||
class="fa fa-play-circle"> </i>MyAnimeList</a>
|
class="fa fa-play-circle"> </i>MyAnimeList</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="profileQuote">
|
||||||
|
#SejaFeliz❤
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
27
style.css
27
style.css
@@ -56,3 +56,30 @@ body {
|
|||||||
background-color: var(--bgColor);
|
background-color: var(--bgColor);
|
||||||
color: var(--accentColor);
|
color: var(--accentColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#profileQuote {
|
||||||
|
color: #bbb;
|
||||||
|
font-size: 1rem;
|
||||||
|
display: block;
|
||||||
|
font-family: var(--font);
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
/* animation */
|
||||||
|
overflow: hidden;
|
||||||
|
background: linear-gradient(90deg, #000, #fff, #000);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 80%;
|
||||||
|
animation: animate 3s linear infinite;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: rgba(255, 255, 255, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes animate {
|
||||||
|
0% {
|
||||||
|
background-position: -500%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 500%;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user