Add and use an aspect ratio plugin

This commit is contained in:
Oliver Davies 2020-09-27 19:06:10 +01:00
parent 67a49ecb93
commit a6ce168d97
4 changed files with 15 additions and 3 deletions

View file

@ -7,6 +7,9 @@ module.exports = {
]
},
theme: {
aspectRatio: {
'16/9': [16, 9]
},
colors: {
black: '#222',
gray: {
@ -23,7 +26,9 @@ module.exports = {
extend: {},
},
variants: {},
plugins: [],
plugins: [
require('tailwindcss-aspect-ratio')
],
experimental: {
applyComplexClasses: true
},