【发布时间】:2020-09-23 10:32:28
【问题描述】:
我想在 tailwindcss 宽度中添加自定义项。我发现你必须使用间距。 在颜色自定义中,您可以使用具有名称的多个对象。是否也可以通过间距来做到这一点?当我尝试这样做时,浏览器中没有任何反应......
spacing: {
// the commented lines work as excepted
// 'cta-slogan': '23.813rem',
// 'services-item': '28.5rem',
// these don't work..
cta: { slogan: '23.813rem' },
services: { item: '28.5rem' },
},
【问题讨论】:
标签: width customization tailwind-css