Skip to content

idevsoftware/js-background-blend-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-background-blend-mode

This is a JavaScript based workaround for browsers which don’t support the CSS background-blend-mode property.

Usage

Add the blend-mode.js file to your HTML, declare your CSS background properties as you normally would using a blend-multiply class name.

What's missing?

As of now only the Multiply blend mode is hardcoded but it's enough to get you started. It would be great to be able to apply whatever background-blend-mode value you have in your CSS file, but currently reading unsupported CSS property values seems to be impossible.

I've only tested it on Safari iOS 7, should work on Mavericks as well.

License

This software is released under the Anyone But Redbanc Software License (ABRSL). Learn more about the ABRSL.

About

A JavaScript based workaround for browsers which don’t support the CSS background-blend-mode property

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published