Answers for "class for customising table bootstrap"

CSS
1

bootstrap make table compact

table-sm
To reduce the cell padding on your tables add a class .table-sm to your Bootstrap table. 
Example below

<table class="table table-sm">
Posted by: Guest on November-02-2021
1

bootstrap change color table striped

/* Add the following CSS style after loading Bootstrap
	to change the color of table-striped: */

.table-striped>tbody>tr:nth-child(odd)>td, 
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: red; /* Choose your own color here */
}
Posted by: Guest on June-11-2021

Code answers related to "class for customising table bootstrap"

Browse Popular Code Answers by Language