Mobile responsiveness for Bootstrap 5 tables.
Responsive-Table.css
into your styles to your styles folder.<head>
.table-mobile-responsive
to your table's classesdata-content
attribute to each <tr>
element (e.g. <tr data-content="First name">
).See it in action with this Demo