I am trying to build a simple chess board (8x8 rows and columns). When each cell is view: "template"
everything lays out just fine and takes up all available screen space.
From there, I want to embed a chess piece graphic in the cell, and have the image auto-size to the cell-size in a responsive way. What is the optimal way to do this? Should I use a css class for the chess piece or a { view: "button", type: "image", image:"chess_piece.png"}
?
I want the image to be a child of the parent view so the image (chess piece) can be dragged to another cell.
In other words, I am making a chess game.
Thanks!