Update style.css

Added some transition on hovering the panel divs. You can adjust rest of the things like border radius n all on your own.
pull/184/head
Ayush Yadav 1 year ago committed by GitHub
parent 9409685c9a
commit e082ab3846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -33,6 +33,12 @@ body {
-webkit-transition: all 700ms ease-in; -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 { .panel h3 {
font-size: 24px; font-size: 24px;
position: absolute; position: absolute;

Loading…
Cancel
Save