Skip to content

leaphub/cleanslate.less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cleanslate.less

An extreme css reset mixin for embeddable widgets. Based on premasagar/cleanslate

Why?

Sometimes, you want to reset the CSS for a specific element to avoid the parent page styles to blead into your CSS. This is often the case when you write embeddable widgets or ads.

Install

You can chose between _bower and npm to install:

bower install cleanslate.less

or

npm install cleanslate.less

Usage

Import the mixin.less and call it from your widget selector.

@import "bower_components/cleanslate.less/src/mixin.less";
      
.my-widget {
  .cleanslate();
}

About

An extreme reset style for embedabble widgets. Based on premasagar/cleanslate

Resources

License

Stars

Watchers

Forks

Packages

No packages published