degmods.com/src/styles/cardBlogs.css

47 lines
897 B
CSS
Raw Normal View History

2024-07-11 11:19:12 +00:00
.cardBlogMain {
padding-top: 56.25%;
position: relative;
border-radius: 10px;
}
.cardBlogMainWrapperLink {
transition: ease 0.4s;
text-decoration: unset;
color: unset;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 0 8px 0 rgb(0,0,0,0.1);
position: relative;
border: solid 1px #232323;
}
.cardBlogMainWrapperLink:hover {
transition: ease 0.4s;
transform: scale(1.03);
}
.cardBlogMainWrapperLink:active {
transition: ease 0.1s;
transform: scale(1.02);
}
.cardBlogMainInside {
2024-09-12 12:16:15 +00:00
transition: ease 0.4s;
2024-07-11 11:19:12 +00:00
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: end;
align-items: start;
padding: 15px;
2024-09-12 12:16:15 +00:00
background: linear-gradient(rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 50%) 100%);
}
.cardBlogMainInside:hover {
background: linear-gradient(rgb(0 0 0 / 25%) 0%, rgb(0 0 0 / 75%) 100%);
2024-07-11 11:19:12 +00:00
}