Files
CHIEFSOFT\ameye 5f95d857d4 first commit
2023-10-14 22:02:57 -04:00

18 lines
392 B
CSS

.cardWithBgImg {
border-radius: 10px;
padding: 25px 20px;
margin-bottom: 15px;
position: relative;
background-size: cover;
background-position: center center;
}
.cardWithBgImg::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
bottom: 0;
left: 0;
background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
border-radius: 10px;
}