CSS Card Generator
A card with a media band, padding and shadow.
The band is a block at the top of the card. The shadow uses a soft black so it works on light and dark page backgrounds.
Frequently asked questions
Should the card be a link?
You can put the class on an <a>. Add a hover shadow in your own CSS if the whole card is clickable.
Can I use an image instead of the band?
Replace the media block with an <img> and give it width: 100% and a fixed height.