fix: lag when starts & buttom hover

This commit is contained in:
john-emerson14
2020-03-21 22:55:40 -03:00
parent f9ce91cac8
commit e8dc7594f6

View File

@@ -42,23 +42,24 @@ body {
.link { .link {
position: relative; position: relative;
font-family: var(--font); font-family: var(--font);
color: var(--bgColor); background-color: transparent;
background-color: var(--accentColor); color: var(--accentColor);
border: solid var(--accentColor) 2px; border: solid var(--accentColor) 2px;
border-radius: 10px; border-radius: 10px;
font-size: 1rem; font-size: 1rem;
font-weight: bold;
text-align: center; text-align: center;
display: block; display: block;
margin-bottom: 20px; margin-bottom: 10px;
padding: 17px; padding: 10px; /* 17px */
text-decoration: none; text-decoration: none;
transition: all .25s cubic-bezier(.08, .59, .29, .99); /* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
} }
.link:hover { @media (hover: hover) {
background-color: transparent; .link:hover {
color: var(--accentColor); background-color: var(--accentColor);
color: var(--bgColor);
}
} }
#profileQuote { #profileQuote {