Skip to content

Commit cc010b9

Browse files
committed
v1.0.0
0 parents  commit cc010b9

11 files changed

Lines changed: 5641 additions & 0 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
node_modules

README.MD

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# pattern.css
2+
3+
CSS only library to fill your empty background with beautiful patterns.
4+
5+
See the full [documentation](https://bansal.io/pattern-css)
6+
7+
![Preview](preview.jpg)
8+
9+
## Features
10+
11+
- Only CSS. No JavaScript!
12+
- < 1KB minified and gzipped!
13+
- Supports all modern browsers
14+
- Built Using SCSS.
15+
- Full color control.
16+
17+
## Installation
18+
19+
### via npm
20+
21+
```bash
22+
npm install pattern.css
23+
```
24+
25+
### via cdn
26+
27+
```html
28+
<link href="https://unpkg.com/pattern.css" rel="stylesheet">
29+
```
30+
31+
### download
32+
33+
```html
34+
<link href="dist/pattern.min.css" rel="stylesheet">
35+
```
36+
37+
## Usage
38+
39+
pattern.css can be used with any css framework.
40+
41+
### With shorthand framework
42+
43+
```html
44+
<div class="pattern-checks-sm bg-blue white">...</div>
45+
```
46+
47+
### With bootstrap framework
48+
49+
```html
50+
<div class="pattern-checks-sm bg-primary text-white">...</div>
51+
```
52+
53+
## Pattern Classes
54+
55+
|small|medium|large|extra large|
56+
|--- |--- |--- |--- |
57+
|pattern-checks-sm|pattern-checks-md|pattern-checks-lg|pattern-checks-xl|
58+
|pattern-grid-sm|pattern-grid-md|pattern-grid-lg|pattern-grid-xl|
59+
|pattern-dots-sm|pattern-dots-md|pattern-dots-lg|pattern-dots-xl|
60+
|pattern-cross-dots-sm|pattern-cross-dots-md|pattern-cross-dots-lg|pattern-cross-dots-xl|
61+
|pattern-diagonal-lines-sm|pattern-diagonal-lines-md|pattern-diagonal-lines-lg|pattern-diagonal-lines-xl|
62+
|pattern-horizontal-lines-sm|pattern-horizontal-lines-md|pattern-horizontal-lines-lg|pattern-horizontal-lines-xl|
63+
|pattern-vertical-lines-sm|pattern-vertical-lines-md|pattern-vertical-lines-lg|pattern-vertical-lines-xl|
64+
|pattern-diagonal-stripes-sm|pattern-diagonal-stripes-md|pattern-diagonal-stripes-lg|pattern-diagonal-stripes-xl|
65+
|pattern-horizontal-stripes-sm|pattern-horizontal-stripes-md|pattern-horizontal-stripes-lg|pattern-horizontal-stripes-xl|
66+
|pattern-vertical-stripes-sm|pattern-vertical-stripes-md|pattern-vertical-stripes-lg|pattern-vertical-stripes-xl|
67+
|pattern-triangles-sm|pattern-triangles-md|pattern-triangles-lg|pattern-triangles-xl|
68+
|pattern-zigzag-sm|pattern-zigzag-md|pattern-zigzag-lg|pattern-zigzag-xl|
69+
70+
## License
71+
72+
MIT

dist/pattern.css

Lines changed: 282 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pattern.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)