HOVER SHADOW ++++
by firegroove
HTML
<div class="feature-card">
<div class="card-icon-container"></div>
<div class="card-description-container">
<p>I want to learn more about Wishpond to see how it can help me grow my business.</p>
</div>
</div>
CSS
.feature-card {
cursor: pointer;
max-width: 250px;
padding: 35px;
box-shadow: none;
transition: 0.3s ease-in-out all;
transform: scale(1);
border: 1px solid #ccc;
}
.feature-card {
background-color: #fff;
/* box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
*/
margin: 0 auto 30px;
/* max-width: 240px;
*/
padding: 20px;
}
.feature-card:hover,
input:checked+.switch .feature-card {
box-shadow: 1px 1px 4px 0 rgba(0, 0, 10, 0.04), 0 40px 100px -20px rgba(0, 0, 10, 0.2), 0 30px 70px -30px rgba(0, 0, 0, 0.4);
border: none;
/* margin-top: -3px; */
/* transform: scale(1.01); */
}
div {
display: block;
}
:root {
--blue: #007bff;
--indigo: #6610f2;
--purple: #6f42c1;
--pink: #e83e8c;
--red: #dc3545;
--orange: #fd7e14;
--yellow: #ffc107;
--green: #28a745;
--teal: #20c997;
--cyan: #17a2b8;
--white: #fff;
--gray: #6c757d;
--gray-dark: #343a40;
--primary: #007bff;
--secondary: #6c757d;
--success: #28a745;
--info: #17a2b8;
--warning: #ffc107;
--danger: #dc3545;
--light: #f8f9fa;
--dark: #343a40;
--breakpoint-xs: 0;
--breakpoint-sm: 576px;
--breakpoint-md: 768px;
--breakpoint-lg: 992px;
--breakpoint-xl: 1200px;
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}