@extends('layouts.simple.master') @section('title', 'Basic Tables') @section('css') @endsection @section('main_content')
Use table class to any table, and
border-bottom-* class for Border bottom color
.
Use table class to any table, and
border-bottom-* class for Border bottom color
.
Use table-inverse class inside table
element.
Hoverable row use a class table-hover and
for horizontal border use a class table-border-horizontal , solid
border use a class border-solid, table classes.
Use
bg-info, bg-success, bg-warning and bg-danger classes with light
text on dark backgrounds inside table element.
To set the light background
color use bg-[color] class where [color] is the
value of your selected color from stack color palette. So for teal color
background class will be bg-teal.
A <caption> functions like a heading
for a table. It helps users with screen readers to find a table and understand
what it’s about and decide if they want to read it.
Similar to tables , use the modifier
classes table-[color] to make thead appear in any
color.
Use table-striped to add zebra-striping to
any table row within the . This styling doesn't work in IE8 and
below as :nth-child CSS selector isn't supported.
Use table-striped-columns to add
zebra-striping to any table column.
Highlight a table row or cell by adding a
table-active class.
Add table-bordered for borders on all sides
of the table and cells.
Add table-borderless for a table without
borders.
Table cells of <thead> are always
vertical aligned to the bottom. Table cells in
<tbody> inherit their alignment from
<table> and are aligned to the top by default. Use the
vertical align classes to re-align where needed.
Border styles, active styles, and table variants are not inherited by nested tables.
Similar to tables and dark tables, use the modifier
classes table-light or table-dark to make
<thead>s appear light or dark gray.
To prevent any styles from leaking to nested tables, we use the child combinator (>) selector in our CSS. Since we need to target all the tds and ths in the thead, tbody, and tfoot, our selector would look pretty long without it.
Add a thicker border, darker between table
groups—<thead>, <tbody>, and <tfoot>—with
table-group-divider.
Customize the color by changing the border-top-color (which we don’t currently
provide a utility class for at this time).
Use table-responsive"❴-sm|-md|-lg|-xl|-xxl❵"
functions like a heading for a table. It helps users with screen readers to find
a table and understand what it’s about and decide if they want to read it.
A table-responsive , light-card inside table
element.
Example of extra large table, Add table-xl
class to the table , Large table Add table-lg ,
Default table Add table-de , Small table Add
table-sm , Extra Small table Add table-xs to create a
table.
Use class
table-hover, table-striped table-*table-info , table-success , table-success , table-info
, table-danger , table-primary , table-secondary , table-light , table-active
inside table element.
Use table-dashed class for dash border for
dotted border use class table-dotted for double border use
class table-double.