degmods.com/src/styles/cardBlogs.css

41 lines
692 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 {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: end;
align-items: start;
padding: 15px;
}