3 ms·
Recreating the Fool's Mate Chess Move with CSS Grid
- fortran77 7y agoIt's really important to view this in Firefox otherwise you won't see what it's supposed to look like!
- perilunar 7y ago> If you’re expecting some really smart solution to this problem, I’m sorry to disappoint but my solution is the most un-smart of all. Each piece that needed to move was in its own grid, and all the grids were stacked on top of each other with positioning. Yeah, definitely a weird and complicated way to solve the problem. Much simpler to just use absolute positions for the pieces and a grid or background image for the board.