Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 370 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 370 Bytes

pseudo

Pseudo allows you to style CSS pseudo elements like :before and :after with JavaScript. This is very useful for positioning elements dynamiclly like pips on a tooltip or dropdown element. Styling these elements is usually relagated to just a CSS approach.

Example:

pseudo.style('.tooltip:after', {
  bottom: '15px',
  left: '27px'
});