mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
28 lines
766 B
JavaScript
28 lines
766 B
JavaScript
/*!
|
|
{
|
|
"name": "CSS Background Clip Text",
|
|
"property": "backgroundcliptext",
|
|
"authors": ["ausi"],
|
|
"tags": ["css"],
|
|
"notes": [{
|
|
"name": "CSS Tricks Article",
|
|
"href": "https://css-tricks.com/image-under-text/"
|
|
}, {
|
|
"name": "MDN Docs",
|
|
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip"
|
|
}, {
|
|
"name": "Related Github Issue",
|
|
"href": "https://github.com/Modernizr/Modernizr/issues/199"
|
|
}]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
Detects the ability to control specifies whether or not an element's background
|
|
extends beyond its border in CSS
|
|
*/
|
|
define(['Modernizr', 'testAllProps'], function(Modernizr, testAllProps) {
|
|
Modernizr.addTest('backgroundcliptext', function() {
|
|
return testAllProps('backgroundClip', 'text');
|
|
});
|
|
});
|