-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update social buttons with animation effects (#17)
- Loading branch information
1 parent
9233896
commit 6865476
Showing
7 changed files
with
85 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
:root { | ||
|
||
--threads: radial-gradient(circle farthest-corner at 35% 90%, #ffd600 0%, #ffd600 5%, #ff7a00 45%, #ff0069 60%, #d300c5 80%, #7638fa 95%); | ||
--linkedin: #0077B5; | ||
--github: #333; | ||
--email: var(--gradient); | ||
} | ||
|
||
.d-socials { | ||
gap: 1rem; | ||
} | ||
|
||
.btn-link { | ||
fill: var(--primary); | ||
border-bottom: none; | ||
} | ||
|
||
.img-social { | ||
height: 20px; | ||
width: 20px; | ||
} | ||
|
||
.btn-social { | ||
width: 2.5rem; | ||
height: 2.5rem; | ||
border: none; | ||
background-color: transparent; | ||
border-radius: 50%; | ||
outline: 2px solid var(--secondary); | ||
cursor: pointer; | ||
transition: all 0.3s; | ||
display: grid; | ||
place-items: center; | ||
|
||
fill: var(--primary); | ||
border-bottom: none; | ||
} | ||
|
||
.btn-social:hover { | ||
outline-offset: 3px; | ||
transition: all 0.3s; | ||
} | ||
|
||
.btn-social img { | ||
transition: all 0.3s; | ||
} | ||
|
||
.btn-social:hover img { | ||
transform: scale(1.15); | ||
} | ||
|
||
.btn-social:hover:nth-child(1) { | ||
background: radial-gradient(circle at 30% 107%, #ffd600 0%, #ffd600 10%, #ff7a00 20%, #ff0069 50%, #d300c5 75%, #7638fa 90%); | ||
} | ||
|
||
.btn-social:hover:nth-child(2) { | ||
background: #0077B5; | ||
} | ||
|
||
.btn-social:hover:nth-child(3) { | ||
background: #333; | ||
} | ||
|
||
.btn-social:hover:nth-child(4) { | ||
background: var(--gradient); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters