Latest solutions
Huddle-landing-page-with-alternating-feature-blocks
#cube-css#jquery#jss#typescriptSubmitted almost 3 years ago
Latest comments
- @Mofe620Submitted almost 3 years ago@Akirem749Posted almost 3 years ago
html- put the icon in an overlay <div>
.overlay{ width: image-width; height: image-height; position: absolute; //make the card container position:relative background-color: hsla(178, 100%, 50%, 0.4); top: 20px; //image-position left: 20px; //image-position opacity: 0; border-radius: 10px; transition: opacity .3s; display: flex; //to center the icon justify-content: center; align-items: center; }
.overlay:hover{ opacity: 1; cursor: pointer; }
Marked as helpful0