node package manager

vcl-utils

Basic utility classes

VCL utils

Basic utility classes.

Utility classes for:

  • Floated elements
  • Box model manipulation
  • Alignment of inline elements
  • Text and word wrapping
  • Visibility control
  • Scrollable containers
  • Text selection by users

inline-element-alignment example

scrollable-containers example

text-and-word-wrapping example

  • vclFloatLeft
  • vclFloatRight
  • vclFloatNone
  • vclClearFix
  • vclClear
  • vclCenterBlock
  • vclNoBorder
  • vclNoPadding
  • vclNoMargin
  • vclAlignLeft
  • vclAlignRight
  • vclAlignCentered
  • vclAlignJustified
  • vclBreakWords
  • vclNoWrap
  • vclOverflowEllipsis
  • vclOverflowHidden
  • vclDisplayNone
  • vclVisibilityHidden
  • vclScrollable

Modifiers:

  • vclX: scrollable only along x-axis
  • vclXOnHover: scrollable only along x-axis when hovered
  • vclY: scrollable only along y-axis
  • vclYOnHover: scrollable only along y-axis when hovered
  • vclEnableUserSelect
  • vclDisableUserSelect

example.html on GH-pages.