git init
This commit is contained in:
38
tailwind.config.js
Normal file
38
tailwind.config.js
Normal file
@@ -0,0 +1,38 @@
|
||||
export default {
|
||||
prefix: 'tw-',
|
||||
theme: {
|
||||
screens: {
|
||||
'ss': { 'max': '639px' },
|
||||
'sm': '640px',
|
||||
'md': '768px',
|
||||
'lg': '1024px',
|
||||
'xl': '1280px',
|
||||
'2xl': '1536px',
|
||||
},
|
||||
extend: {
|
||||
// 可根据需要自行配置,空配置项可以正常使用
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
function ({ addUtilities }) {
|
||||
addUtilities({
|
||||
'.custom-padding': {
|
||||
paddingLeft: '12px',
|
||||
paddingRight: '12px',
|
||||
'@screen md': {
|
||||
paddingLeft: '60px',
|
||||
paddingRight: '60px',
|
||||
},
|
||||
'@screen lg': {
|
||||
paddingLeft: '120px',
|
||||
paddingRight: '120px',
|
||||
},
|
||||
'@screen xl': {
|
||||
paddingLeft: '240px',
|
||||
paddingRight: '240px',
|
||||
},
|
||||
},
|
||||
});
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user