tailwind.config.js 677 B

123456789101112131415161718192021222324252627282930313233
  1. module.exports = {
  2. purge: { content: ['./public/**/*.html', './src/**/*.vue'] },
  3. darkMode: false, // or 'media' or 'class'
  4. theme: {
  5. screens: {
  6. 'phone': '640px',
  7. // => @media (min-width: 640px) { ... }
  8. 'pad': '1024px',
  9. // => @media (min-width: 1024px) { ... }
  10. 'pc': '1320px',
  11. // => @media (min-width: 1280px) { ... }
  12. },
  13. extend: {
  14. width: {
  15. "72": "18rem",
  16. },
  17. height: {
  18. "36": "10rem"
  19. }
  20. },
  21. },
  22. // 禁用指定的css类
  23. corePlugins: {
  24. // container: false,
  25. },
  26. variants: {
  27. extend: {},
  28. },
  29. plugins: [],
  30. }