I don't really understand what it means to do the layout with CSS. I was under the impression that CSS is just a method for globally assigning style attributes to HTML elements. The same style elements that can also be set on a per-element basis by a style="name:value" attribute in a HTML element, or by assigning to it in JavaScript as .style.name = value.
CSS can do a lot more than "styles" in the sense of color, font, weight, slant etc. It can also specify the positioning and layout of elements, for example. While a table always has a rectangular layout, one can use e.g. a CSS grid for the same purpose, but also other shapes of grids as well, like these:
CSS can do a lot more than "styles" in the sense of color, font, weight, slant etc. It can also specify the positioning and layout of elements, for example. While a table always has a rectangular layout, one can use e.g. a CSS grid for the same purpose, but also other shapes of grids as well, like these:
CSS: https://github.com/xenos1984/BoardGames/blob/master/docs/games.css