Thursday, February 12, 2015

CSS: Highlight current row and column

A while ago, we had  to write some functionality to highlight the current row and column for the current active cell inside an HTML table. I didn’t pick up the work item but a colleague implemented the functionality. I don’t know the exact implementation details anymore, but I do know that it involved a large amount of custom JavaScript and CSS code(at least a lot more than I expected).

Recently I found another clean solution(with far less code) to implement this functionality on css-tricks.

image

No idea, if I ever get a similar question, but just in case, I post the link here…

No comments: