Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

tailwind bg image

  // tailwind.config.js
  module.exports = {
    theme: {
      extend: {
        backgroundImage: theme => ({
+         'hero-pattern': "url('/img/hero-pattern.svg')",
+         'footer-texture': "url('/img/footer-texture.png')",
        })
      }
    }
  }
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #tailwind #bg #image
ADD COMMENT
Topic
Name
5+1 =