9/17/2023 0 Comments Calendario em carrossel bootstrap![]() Text and border colors are generated the same way, and their colors are inherited by default.īehind the scenes it looks like table-variant ( $state, $background ) Table borders Bordered tablesĪdd.For each table variant, we generate a -bs-table-accent-bg color with the highest contrast depending on that color.table-active classes are added, the -bs-table-accent-bg is set to a semitransparent color to colorize the background. ![]() Since -bs-table-accent-bg is unset by default, we don’t have a default box shadow. Because we use a huge spread and no blur, the color will be monotone. Then we add an inset box shadow on the table cells with box-shadow: inset 0 0 0 9999px var(-bs-table-accent-bg) to layer on top of any specified background-color.This way, we don’t get into trouble if semi-transparent colors are used as table backgrounds. ![]() All table variants then set that custom property to colorize the table cells. We start by setting the background of a table cell with the -bs-table-bg custom property. ![]() 3 Larry the Bird How do the variants and accented tables work?įor the accented tables ( striped rows, hoverable rows, and active tables), we used some techniques to make these effects work for all our table variants: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |