I have a table with stripped rows, where some cells are editable. However, the varying sets of editable cells per row can be confusing for users. To make it clearer, I want to provide visual feedback when cells are editable. All editable cells have an .editable
class on the td
element. I've experimented with two approaches:
- Adding borders to editable cells: This was unsatisfactory because the border didn't fully enclose the cell, making it look unattractive and incomplete.
- Changing the background color of editable cells: While effective in indicating editable areas, it disrupted the striped design of the table and looked unpleasant.
My attempt with borders:
https://i.sstatic.net/cIreG.png
My attempt with background colors:
https://i.sstatic.net/gjKHL.png
I'm looking for a way to subtly darken the background of editable cells while maintaining the stripped style of the table. This will provide clear visual feedback without compromising the overall design.
How can I achieve this effect using a "filter" or similar technique to slightly darken cells with the editable
class?