Breaking Boundaries: Building a Tangram Puzzle With (S)CSS

· CSS-Tricks · June 12, 2025, 3:01 p.m.
Summary
This post explores creating a Tangram puzzle solely using (S)CSS, demonstrating how Sass can replace JavaScript for low-level logic and puzzle behavior, while emphasizing the functionality of maps, mixins, and math in CSS. It offers a fresh perspective on CSS capabilities and challenges common assumptions about the need for JavaScript in interactive design.
AUTHOR