news post hover
This commit is contained in:
parent
14c9a24402
commit
56304e0ca5
4 changed files with 31 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue