forked from Modernizr/Modernizr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Modernizr#1392 from patrickkettner/background-blen…
…d-mode add detect for background-blend-mode
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/*! | ||
{ | ||
"name": "CSS Background Blend Mode", | ||
"property": "backgroundblendmode", | ||
"caniuse": "css-backgroundblendmode", | ||
"tags": ["css"], | ||
"notes": [ | ||
{ | ||
"name": "CSS Blend Modes could be the next big thing in Web Design", | ||
"href": " https://medium.com/@bennettfeely/css-blend-modes-could-be-the-next-big-thing-in-web-design-6b51bf53743a" | ||
}, { | ||
"name": "Demo", | ||
"href": "http://bennettfeely.com/gradients/" | ||
} | ||
] | ||
} | ||
!*/ | ||
/* | ||
Detects the ability for the browser to composite backgrounds using blending modes | ||
similar to ones found in Photoshop or Illustrator | ||
*/ | ||
define(['Modernizr', 'prefixed'], function( Modernizr, prefixed ) { | ||
Modernizr.addTest('backgroundblendmode', prefixed('backgroundBlendModes', 'text')); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters