0

I need the help of the community.

Before writing this post I spend some time looking for an answer but I could not find out how.

Can someone help and tell me how I can center an image inside the circle as show in the image below.

It would be so nice if someone can help me.

enter image description here

Here is the only coee i have this is HTML

<div class="service">
    <div class="circle">      
      <!-- <img src="/assets/images/engineering.png" alt="image mécanisme"> -->
      </div>
     <h2>Automatiser votre<br>funnel d'acquisition</h2>
</div>

1 Answers1

1

Using HTML, position the image inside the parent div (which is the circle div).

In the parent div (with class circle), using CSS add

.circle { display: flex; align-items: center; justify-content: center}

This should add the image into the circle div.

Please mark this as correct if it's helpful.