mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
15 lines
327 B
JavaScript
15 lines
327 B
JavaScript
import createUtilityPlugin from '../util/createUtilityPlugin'
|
|
|
|
export default function() {
|
|
return function({ target, ...args }) {
|
|
if (target('backgroundOpacity') === 'ie11') {
|
|
return
|
|
}
|
|
|
|
createUtilityPlugin('backgroundOpacity', [['bg-opacity', ['--bg-opacity']]])({
|
|
target,
|
|
...args,
|
|
})
|
|
}
|
|
}
|