An open API service indexing awesome lists of open source software.

https://github.com/afeiship/webkit-sassui-layout-justify

Webkit css ui module for justify skills.
https://github.com/afeiship/webkit-sassui-layout-justify

justify justify-skills webkit

Last synced: 9 months ago
JSON representation

Webkit css ui module for justify skills.

Awesome Lists containing this project

README

          

# webkit-sassui-layout-justify
> Webkit sass ui module for justify skills.

## usage:
+ use sass mixin:
```sass
.justify-demo {
//Child must have font-size:
@include webkit-sassui-justify(14px);
>*{
width: 24px;
line-height: 24px;
text-align: center;
background: #333;
color: white;
border-radius: 50%;
}
}
```

+ OR you can use css directily:
```html

.justify-demo>*{
/*
1.Child elements must by original inline elements.
2.Child elements must have height.(If NOT,the box will has a hidden height)
*/
height:24px;
}


item1
item2
item3

```
+ justify-text(ONLY for 'inline-element')
```html


1
2
3
4

```

## resources:
+ https://github.com/afeiship/generator-webkit-cssui
+ https://github.com/kangax/html-minifier
+ https://www.npmjs.com/package/gulp-htmlmin
+ https://kristinlbradley.wordpress.com/2011/09/15/cross-browser-css-justified-block-list/