Hey there, I'm currently working on a website project for my college but I've run into an issue with the image card layout. Can anyone advise me on how to ensure that the background image of the card fills the entire space instead of being partially displayed?
element.style {
}
.item_service_card {
position: relative;
overflow: hidden;
}
... (CSS code continues)
</pre>
<pre><code>Here is the HTML code snippet for the card:
<div class="owl-stage-outer"><div class="owl-stage" style="transform: translate3d(0px, 0px, 0px); transition: all 0s ease 0s; width: 1900px;"><div class="owl-item active" style="width: 350px; margin-right: 30px;"><div class="item_service_card">
<div class="image_service"> ... (HTML code continues)
The issue in question:
https://i.sstatic.net/99hws.png
I am looking to eliminate the partial display of the background image and have it fill the entire designated area within the card.