Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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',
          },
        }
      })
    }
  ]
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript count up timer 
Javascript :: js object without prototype 
Javascript :: socket.id 
Javascript :: js decrease opacity canvas 
Javascript :: js count word 
Javascript :: replace js 
Javascript :: webpack url loader not working 
Javascript :: export default 
Javascript :: lenght validation using jquey valisaton 
Javascript :: string charat javascript 
Javascript :: detect if overflow javascript 
Javascript :: get javascript parameter 
Javascript :: js return the highest and lowest number 
Javascript :: hosting react with pm2 
Javascript :: comment in js 
Javascript :: how to calculate bmi 
Javascript :: jquery event methods 
Javascript :: javascript search after user stops typing 
Javascript :: js class private 
Javascript :: JavaScript String endsWith() examples 
Javascript :: how the concat function works javascript 
Javascript :: javascript save data to local storage 
Javascript :: knex.js migration create 
Javascript :: password reset passport-local mongoose 
Javascript :: js convert obj to array 
Javascript :: nodejs append to json 
Javascript :: express send pdf to view 
Javascript :: learn nodejs 
Javascript :: create neact native app 
Javascript :: toast info 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =