glow-css

0.2.0 • Public • Published

Glow

License: MIT glow-css on NPM

A small CSS utility to make glow text and images.

Installation

CSS quick start (easy)

<link
  rel="stylesheet"
  href="https://unpkg.com/glow-css@0.2.0/dist/css/glow.min.css"
/>

It's all set to go and your HTML elements will be given sensible default styling.

Styling

Colors

primary: #0050fd
secondary: #a5a2a2
success: #00ff0d
danger: #ff2600
warning: #fdec00
info: #5aa2ff
light: #ffffff
dark: #282828

Text

Add glow-{color} to glow the text with the specified colors

<p class="glow glow-primary">
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, vel.
</p>

Images

Add glow-img-{color} to glow the image. Recommended for images with transparent background

<img alt="mario" class="glow-img-dark" src="./mario.png" />

Contributing

Please feel free to fork, comment, critique, or submit a pull request.

License

This project is open source and available under the MIT License.

Package Sidebar

Install

npm i glow-css

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

6.97 kB

Total Files

9

Last publish

Collaborators

  • dephraiim