@vcl/ribbon

0.6.3 • Public • Published

VCL ribbon

A ribbon to show meta data in a celebratory manner.

Features

The corner-ribbon can be placed in the corners of a parent container or the viewport.

Usage

The container uses the class vclOverflowHidden to cut the ribbon.

positions example

A ribbon can also be a link and contain an icogram.

link and icogram example

Classes

  • vclCornerRibbon

Modifiers

  • vclSticky: stick to the viewport.
  • vclShadow: show a shadow.
  • vclTopLeft
  • vclTopRight
  • vclBottomLeft
  • vclBottomRight

Variables

  • --ribbon-bg-color
  • --ribbon-color
  • --ribbon-shadow-color

Demo

example.html on GH-pages.

Readme

Keywords

Package Sidebar

Install

npm i @vcl/ribbon

Weekly Downloads

0

Version

0.6.3

License

MIT

Unpacked Size

6.77 kB

Total Files

9

Last publish

Collaborators

  • marcode95
  • vanthome
  • dani723
  • vilsol
  • jurgis-upenieks