m (1 revision imported) |
Monoraptor (talk | contribs) (Remove setting content to blank. No idea why that was in there.) |
||
Line 5: | Line 5: | ||
#home-nav .home-card__background:after { | #home-nav .home-card__background:after { | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
Line 12: | Line 11: | ||
display: block; | display: block; | ||
background: linear-gradient(to right,#000,transparent); | background: linear-gradient(to right,#000,transparent); | ||
} | } | ||
#home-nav .home-card__foreground { | #home-nav .home-card__foreground { | ||
height: 100%; | height: 100%; | ||
width: 100%; | width: 100%; |
Revision as of 14:34, 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;
}