Complete the code to set the background size to cover the entire element.
<div class="bg-[url('/image.jpg')] [1] h-64 w-64"></div>
The bg-cover class makes the background image cover the entire element area.
Complete the code to center the background image inside the element.
<div class="bg-[url('/photo.png')] h-48 w-48 [1]"></div>
The bg-center class centers the background image horizontally and vertically.
Fix the error in the code to make the background image not repeat.
<div class="bg-[url('/pattern.svg')] [1] h-40 w-40"></div>
The bg-no-repeat class stops the background image from repeating.
Fill both blanks to make the background image cover the element and position it at the top right.
<div class="bg-[url('/scenery.jpg')] [1] [2] h-72 w-72"></div>
Use bg-cover to cover the element and bg-top-right to position the image at the top right corner.
Fill all three blanks to create a background image that is contained inside the element, positioned at bottom left, and does not repeat.
<div class="bg-[url('/texture.png')] [1] [2] [3] h-56 w-56"></div>
Use bg-contain to fit the image inside, bg-bottom-left to position it at the bottom left, and bg-no-repeat to prevent repeating.