I am working with Materialize CSS and I encountered an issue with setting the background of a modal to display just one image without repetition. The goal is to create a large image with a blurred webpage background effect when the modal opens. However, currently, the image repeats if the modal size exceeds it.https://i.sstatic.net/eYHqS.jpg
My aim is for the single image to stretch across the entire modal.
Here is my modal setup:
<div id="imageModal" class="modal">
<div class="modal-content">
</div>
</div>
CSS styling:
#imageModal{
background-image: url("../images/office2.jpg");
background-reapeat: "none";
height: 50%;
width: 100%;
}