“Rückenwind -CSS -Hintergrundbild” Code-Antworten

Rückenwind -CSS -Hintergrundbild

<!--
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

Rückenwind -CSS -Bildnetz

########### Responsive Grids ###############

<div class="flex flex-wrap">
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/6 mb-4 bg-gray-500"></div>
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/6 mb-4 bg-gray-400"></div>
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/6 mb-4 bg-gray-500"></div>
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/6 mb-4 bg-gray-400"></div>
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/2 xl:w-1/6 mb-4 bg-gray-500"></div>
  <div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/2 xl:w-1/6 mb-4 bg-gray-400"></div>
</div>
Lokesh003

Rückenwind -BG -Bild

  // 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

Hintergrund-Image-Rückenwind

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

Ähnliche Antworten wie “Rückenwind -CSS -Hintergrundbild”

Fragen ähnlich wie “Rückenwind -CSS -Hintergrundbild”

Weitere verwandte Antworten zu “Rückenwind -CSS -Hintergrundbild” auf HTML

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen