mirror of
https://github.com/johnggli/linktree.git
synced 2026-08-16 22:46:04 +01:00
fix: lag when starts & buttom hover
This commit is contained in:
17
style.css
17
style.css
@@ -42,23 +42,24 @@ body {
|
||||
.link {
|
||||
position: relative;
|
||||
font-family: var(--font);
|
||||
color: var(--bgColor);
|
||||
background-color: var(--accentColor);
|
||||
background-color: transparent;
|
||||
color: var(--accentColor);
|
||||
border: solid var(--accentColor) 2px;
|
||||
border-radius: 10px;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
padding: 17px;
|
||||
margin-bottom: 10px;
|
||||
padding: 10px; /* 17px */
|
||||
text-decoration: none;
|
||||
transition: all .25s cubic-bezier(.08, .59, .29, .99);
|
||||
/* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.link:hover {
|
||||
background-color: transparent;
|
||||
color: var(--accentColor);
|
||||
background-color: var(--accentColor);
|
||||
color: var(--bgColor);
|
||||
}
|
||||
}
|
||||
|
||||
#profileQuote {
|
||||
|
||||
Reference in New Issue
Block a user