Skip to content

francis94c/w3css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Licence MIT Splint Lates Release Commits

w3css

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.

Features/Components

  • Tables
  • Progress Bar

Installation

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

Loading

From anywhere you can access the CI instance

$this->load->splint("francis94c/w3css", "+W3CSS", null, "w3css");

Usage

Table

$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);

Table

Progress Bar

$ci->w3css->renderProgressBar(30, "w3-brown");

Progress Bar

Wiki

https://github.com/francis94c/w3css/wiki

About

A PHP library for rendering complex and dynamic HTML, styled with the W3CSS library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published