Use box shadows instead of linear gradients to colorize tables#32348
Conversation
|
For me this only improves the experience marginally (Samsung Galaxy A51, Chrome 86) but the white unrendered sections are still very noticeable. |
|
I may be missing something but why is it not possible to just set the |
We use this technique so we can mix the striped/active/hover tables with our table variants https://getbootstrap.com/docs/5.0/content/tables/#variants |
|
Okay I did not even realize this is now possible with v5, that sounds great. I guess some |
mdo
left a comment
There was a problem hiding this comment.
Very noticeable difference on Safari. Wondering if we need a full 9999px or if we could get away with something smaller?
I used |
Wouldn't the same visual effect be achieved by using these variables directly in I tested it by simply replacing |
Closes #32266
Before: https://codepen.io/MartijnCuppens/pen/oNzxwZY
After: https://codepen.io/MartijnCuppens/pen/PoGNjpQ
Scroll fast to see the effect. Effect most noticeable in Safari & Chrome.