removed unnecessary translates

This commit is contained in:
afnzmn 2022-07-19 10:18:26 -04:00
parent eb6b7ce743
commit 2ea31cef26
3 changed files with 4 additions and 6 deletions

View File

@ -27,7 +27,6 @@
background-color: transparent;
font-size: 1.5rem;
margin-top: 45px;
transform: translateX(-5%);
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.4s;
margin-right: 20px;
@ -44,6 +43,6 @@
}
button:hover {
transform: translate(-5%, -5%);
transform: translate(0%, -5%);
}
</style>

View File

@ -16,6 +16,7 @@
a {
color: var(--white);
text-decoration: none;
text-align: center;
}
button {
@ -30,14 +31,13 @@
cursor: pointer;
background-color: var(--grey-four);
font-size: 1.5rem;
transform: translateX(-5%);
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.4s;
user-select: none;
}
button:hover {
transform: translate(-5%, -5%);
transform: translate(0%, -5%);
}
img {

View File

@ -21,7 +21,6 @@
cursor: pointer;
background-color: var(--grey-four);
font-size: 1.5rem;
transform: translateX(-5%);
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.4s;
user-select: none;
@ -34,7 +33,7 @@
}
button:hover {
transform: translate(-5%, -5%);
transform: translate(0%, -5%);
}
button:hover img {