I want to create an HTML table in which I can cross out cells, as shown in the following figure:

I initially thought about making CSS right triangle in a cell, but I could not figure out how to color only the hypotenuse, and not the other two sides or the triangle itself.
In other words, is this what I want to make possible?
Would make an image with a diagonal line, and then making this image 100% stretched, would the cell width and height make the most sense?
Thank.
source
share