This is a small learning project that render a standard 52-card deck using only HTML and CSS. It’s designed to be reuse as a web-component and, eventually, to build a solitaire game.
- Pure HTML & CSS
- Responsive card layouts
- Flexbox and CSS Grid for layout
- Positioning and stacking contexts
- Transforms and transitions for simple animations
Some techniques are intentionally over-engineered or implemented in multiple ways for practical purposes.
When a card rotates via the active animation, the back face does not display. Attempts to fix this caused layout and behavioral issues, so it remains as a known limitation for now.
Tested on Chromium and Firefox
