Demo

Left to Right bgColor: "#ff00d6"

Right to Left bgColor: "#00ffba"

Top to Bottom bgColor: "#711ad2"

Bottom to Top bgColor: "#fff137"

Usage

CSS

HTML

Call the Doorman

Use with multiple selectors.

Example to use with scrollmonitor

Options

If you want each "Doorman" to set options.