diff --git a/expanding-cards/style.css b/expanding-cards/style.css index a6fe024..c0e641e 100644 --- a/expanding-cards/style.css +++ b/expanding-cards/style.css @@ -33,6 +33,12 @@ body { -webkit-transition: all 700ms ease-in; } +/* Hover effect for panels */ +.panel:hover { + flex: 3; /* You can adjust the value for the flex property as needed */ + background-size: 110%; /* This will slightly zoom the background image */ +} + .panel h3 { font-size: 24px; position: absolute;