27 lines
458 B
JavaScript
27 lines
458 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
|
|
|
|
const plugin = require('tailwindcss/plugin')
|
|
|
|
const backfaceVisibility = plugin(function({addUtilities}) {
|
|
addUtilities({
|
|
'.backface-visible': {
|
|
'backface-visibility': 'visible',
|
|
},
|
|
'.backface-hidden': {
|
|
'backface-visibility': 'hidden',
|
|
}
|
|
})
|
|
});
|
|
|
|
module.exports = {
|
|
content: [
|
|
"./src/**/*.{html,ts}",
|
|
],
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [backfaceVisibility],
|
|
}
|
|
|