Answers for "tailwind max width container"

0

tailwind css width 50 percent

<!-- FOR width: 50%; => w-1/2 -->
<div class="w-1/2"></div>

<!-- FOR min-height: 100% => min-h-full -->
<div class="min-h-full"></div>
Posted by: Guest on December-12-2021
0

tailwind container class size

module.exports = {
  corePlugins: {
    container: false
  },
  plugins: [
    function ({ addComponents }) {
      addComponents({
        '.container': {
          maxWidth: '100%',
          '@screen sm': {
            maxWidth: '640px',
          },
          '@screen md': {
            maxWidth: '768px',
          },
          '@screen lg': {
            maxWidth: '1280px',
          },
          '@screen xl': {
            maxWidth: '1400px',
          },
        }
      })
    }
  ]
}
Posted by: Guest on October-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language