This is a question about the UI of a table. Does implementing 1 and 2 at the same time lead to better UI/UX? Or is it too much?

  1. Change the background color of the table rows alternately.
  2. Change the background color of the target line when hovering over a line.

2 Answers 2


You should do either based on the action

if the rows are readonly then just do alternate background color if rows are clickable then just highlighting should be fine but make sure borders are proper to seperate rows from one another


If your 2) is not conflicting with 1) i.e. the colour which you are choosing to show over hovering is not getting mixed or hidden with background, it's fine. You can try it and change accordingly.

  • Hey @jun, Stack overflow is the right place for this type of question.
    – Swapna
    Nov 22, 2020 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.