Monoraptor (talk | contribs) No edit summary Tag: Reverted |
Monoraptor (talk | contribs) (Undo revision 215 by Monoraptor (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
#home-nav { | #home-nav { | ||
margin-top: 1rem; | margin-top: 1rem; | ||
} | |||
#home-nav .home-card__background:after { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
bottom: 0; | |||
left: 0; | |||
display: block; | |||
background: linear-gradient(to right,#000,transparent); | |||
} | } | ||
Latest revision as of 21:13, 5 March 2023
#home-nav {
margin-top: 1rem;
}
#home-nav .home-card__background:after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
background: linear-gradient(to right,#000,transparent);
}
#home-nav .home-card__foreground {
height: 100%;
width: 100%;
display: flex;
align-items: center;
padding: 0 15px;
color: #fff;
font-weight: 500;
}