news post hover

This commit is contained in:
Sveske_Juice 2024-02-23 20:13:31 +01:00
parent 14c9a24402
commit 56304e0ca5
4 changed files with 31 additions and 11 deletions

View file

@ -31,13 +31,24 @@
border: none;
background-color: var(--button-color);
transition: transform 100ms ease-in-out;
transform: translate(0, 0);
display: flex;
justify-content: center;
font-size: 1.5em;
box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.3);
}
.button:hover {
transition: transform 100ms ease-in-out;
transform: translate(0, -5px);
cursor: pointer;
box-shadow:
inset 0 0 0 100px rgba(255, 255, 255, 0.25);
}
.content {