4 ms·
You could move the data into a data attribute, and then use "content: attr(data-td)" for example.
by coda 7y ago
You could move the data into a data attribute, and then use "content: attr(data-td)" for example.
- andrelaszlo 7y agoDoesn't that take the problem back to the spot where we have the header repeated for each cell? In a data attribute instead of a span, which may be cleaner, but still: https://codepen.io/andrelaszlo/pen/xoxmdg https://codepen.io/andrelaszlo/pen/xoxmdg Is there a way to only define the header label once and refer to them depending on the cell using only CSS?
- aabbcc1241 7y agoyou may use html template engine