-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very noticeable difference on Safari. Wondering if we need a full 9999px
or if we could get away with something smaller?
I used |
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.