“Gambar BG Tailwind” Kode Jawaban

gambar latar belakang CSS tailwind

<!--
Arbitrary values
If you need to use a one-off background-image value that doesn’t make sense to include in your theme, use square brackets to generate a property on the fly using any arbitrary value.
-->

<div class="bg-[url('/img/hero-pattern.svg')]">
  <!-- Your Code -->
</div>
Condemned Cat

Gambar BG Tailwind

  // tailwind.config.js
  module.exports = {
    theme: {
      extend: {
        backgroundImage: theme => ({
+         'hero-pattern': "url('/img/hero-pattern.svg')",
+         'footer-texture': "url('/img/footer-texture.png')",
        })
      }
    }
  }
Smoggy Sandpiper

Tailwind latar belakang-gambar

<div className="bg-[url('../public/assets/images/banner.svg')]">
Roberto Espinoza

Jawaban yang mirip dengan “Gambar BG Tailwind”

Pertanyaan yang mirip dengan “Gambar BG Tailwind”

Lebih banyak jawaban terkait untuk “Gambar BG Tailwind” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya