Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pattern.css

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pattern.css

CSS library of modern background patterns

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

pattern.css

CSS only library to fill your empty background with beautiful patterns.

See the full documentation

Preview

Features

  • Only CSS. No JavaScript!
  • < 1KB minified and gzipped!
  • Supports all modern browsers
  • Built Using SCSS.
  • Full color control.

Installation

via npm

npm install pattern.css

via cdn

<link href="https://unpkg.com/pattern.css" rel="stylesheet">

download

<link href="dist/pattern.min.css" rel="stylesheet">

Usage

pattern.css can be used with any css framework.

With shorthand framework

<div class="pattern-checks-sm bg-blue white">...</div>

With bootstrap framework

<div class="pattern-checks-sm bg-primary text-white">...</div>

Pattern Classes

smallmediumlargeextra large
pattern-checks-smpattern-checks-mdpattern-checks-lgpattern-checks-xl
pattern-grid-smpattern-grid-mdpattern-grid-lgpattern-grid-xl
pattern-dots-smpattern-dots-mdpattern-dots-lgpattern-dots-xl
pattern-cross-dots-smpattern-cross-dots-mdpattern-cross-dots-lgpattern-cross-dots-xl
pattern-diagonal-lines-smpattern-diagonal-lines-mdpattern-diagonal-lines-lgpattern-diagonal-lines-xl
pattern-horizontal-lines-smpattern-horizontal-lines-mdpattern-horizontal-lines-lgpattern-horizontal-lines-xl
pattern-vertical-lines-smpattern-vertical-lines-mdpattern-vertical-lines-lgpattern-vertical-lines-xl
pattern-diagonal-stripes-smpattern-diagonal-stripes-mdpattern-diagonal-stripes-lgpattern-diagonal-stripes-xl
pattern-horizontal-stripes-smpattern-horizontal-stripes-mdpattern-horizontal-stripes-lgpattern-horizontal-stripes-xl
pattern-vertical-stripes-smpattern-vertical-stripes-mdpattern-vertical-stripes-lgpattern-vertical-stripes-xl
pattern-triangles-smpattern-triangles-mdpattern-triangles-lgpattern-triangles-xl
pattern-zigzag-smpattern-zigzag-mdpattern-zigzag-lgpattern-zigzag-xl

License

MIT

Keywords

FAQs

Package last updated on 18 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc