How to create an accordion hover effect with box-shadows

Sarah L. Fossheim / filed under HTML & CSS

In this tutorial we’ll use the box-shadow property to create a layered card component, and animate it on hover.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency