# PHPtoCSS
CSS wrapper for PHP developers to build simple stylesheets.

### Example Usage
####Require base class file and initialize the base object in a var

    <?php
    require_once("classes/Css.php");
    $c = new Css();

####Create a "button-canceled" class, make it bold and add a yellow background

    $c->addClass('button-canceled')->background('yellow')->bold();

#### All CSS properties can be used following the camelCase convention
- ```backgroundColor('red')``` produces ```background-color: red```
- ```fontSize(12)``` produces ```font-size: 12```
- ```borderRadius('3px')``` produces ```border-radius: 3px``` 
- and so on...

### Shorthands
####You can use shorthand methods to produce commonly-used CSS codes
- ```hide()``` produces ```display: none```
- ```bold()``` produces ```font-weight: bold```
- ```round()``` produces ```border-radius: '5px'```
- ```font('arial')``` produces ```font-family: arial```

### @Todo
- ~~Comment and document all essential methods~~
- Add support for other common shorthands
