Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/wsui-justify-list
webkit sass ui module for negative margin list.
https://github.com/afeiship/wsui-justify-list
grid justify last-row list wsui
Last synced: 20 days ago
JSON representation
webkit sass ui module for negative margin list.
- Host: GitHub
- URL: https://github.com/afeiship/wsui-justify-list
- Owner: afeiship
- License: mit
- Created: 2016-10-16T06:06:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T07:39:55.000Z (almost 4 years ago)
- Last Synced: 2024-11-27T17:41:34.943Z (about 1 month ago)
- Topics: grid, justify, last-row, list, wsui
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wsui-justify-list
> wsui module for negative margin list.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm i @jswork/wsui-justify-list
```## usage
```scss
// deps - `strip-unit`
@import "~@jswork/wsui-functions/dist/index.scss";// use scss
@import '~@jswork/wsui-justify-list/dist/index.scss';
// use css
@import '~@jswork/wsui-justify-list/dist/style.css';// in-width: 盒子的宽度
// in-item-width: 每个子级元素的宽度
// in-columns: 每行有多少列
// in-selector: 默认选择器 (默认: > .is-item)
// in-slibling: 末行兄弟选择器 (默认: .is-item).list1 {
margin-bottom: 20px;
@include wsui-justify-list(1000px, 220px, 4) {
background: #ddd;
}
}
``````html
item1
item2
item3
item4
item5
item6
item7
```## license
Code released under [the MIT license](https://github.com/afeiship/wsui-justify-list/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/wsui-justify-list
[version-url]: https://npmjs.org/package/@jswork/wsui-justify-list[license-image]: https://img.shields.io/npm/l/@jswork/wsui-justify-list
[license-url]: https://github.com/afeiship/wsui-justify-list/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/wsui-justify-list
[size-url]: https://github.com/afeiship/wsui-justify-list/blob/master/dist/wsui-justify-list.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/wsui-justify-list
[download-url]: https://www.npmjs.com/package/@jswork/wsui-justify-list