SPLINT Packages Wiki Downloads {} Blog Log In Sign Up

SPLINT

Packages

Wiki

Downloads

{} Blog

Log In


Sign Up

francis94c/w3css

v0.0.1 1 0 - 0.0 0 {} 0


×

Are you sure you want to delete this package?

Users will no longer be able to intall this package if you do so.

Description

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

README

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

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

with from CynoBit