Implement Sticky Table Headers/Footers/Columns In Bulma Framework

Category: CSS & CSS3 , Table | June 5, 2023
Author:cityssm
Views Total:263 views
Official Page:Go to website
Last Update:June 5, 2023
License:MIT

Preview:

Implement Sticky Table Headers/Footers/Columns In Bulma Framework

Description:

A Pure CSS extension that helps Bulma developers create tables with sticky headers, footers, and/or columns to make your large datasets more readable and accessible.

How to use it:

1. Ensure that your project includes the Bulma CSS framework, as Bulma Sticky Table relies on it for styling.

<link rel="stylesheet" href="/path/to/cdn/bulma.min.css">
<link rel="stylesheet" href="/path/to/bulma-with-sticky-table.css">

2. Add the following CSS classes to the HTML table.

  • has-sticky-header: Make table header sticky
  • has-sticky-footer: Make table footer sticky
  • has-sticky-column: Make the first column sticky
<table class="table has-sticky-header has-sticky-footer has-sticky-column">
  ...
</table>

Changelog:

v2.1.0 (06/05/2023)

  • Fix when a sticky header or footer is used in a modal over a page with a fixed navbar.

You Might Be Interested In:


Leave a Reply