Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 468 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 468 Bytes

#Image-Filter

##Usage

  1. Add the js file into your html page
  2. Add 'image-filter' class to img element, specify color and opacity as data attributes.
  3. Enjoy your picture

html example: <img class="image-filter" data-color="#333" data-opacity="0.5">

##Details This javascript code wraps images with div elements and places a sibling div elements at runtime. It should not take up spaces but should be kept in mind when designing.

Bower package coming soon