W3.CSS is a modern CSS framework with built-in responsiveness. It supports responsive mobile first design by default, and it is smaller and faster than similar CSS frameworks.
W3.CSS can also speed up and simplify web development because it is easier to learn, and easier to use than other CSS frameworks.
W3.CSS has some classes that can be combined with multiple DOM objects to produce several UI components.
This library's focus is in abstracting these nested DOM components away into PHP in Code Igniter.
- Tables
- Progress Bar
To install, download and install Splint from https://splint.cynobit.com/downloads/splint and then run the below from your Code Igniter project root
splint install francis94c/w3css
From anywhere you can access the CI
instance
$this->load->splint("francis94c/w3css", "+W3CSS", null, "w3css");
$columns = array("S/N", "Item", "Description");
$rows = array(
array(1, "Broom", "For Seeeping"),
array(2, "Data", "For Browsing"),
array(3, "Git", "For version Control"),
array(4, "Food", "What we eat")
);
$this->w3css->renderTable($columns, $rows);
$ci->w3css->renderProgressBar(30, "w3-brown");