To create the effect that the image stands out from the background, you can use a combination of CSS properties such as box-shadow, border-radius, and positioning. Here are some steps that you can follow to achieve the effect:
Apply a border-radius to the image container to create rounded corners. In your code, you have already applied a rounded border to the container with the class bg-other.
Apply a box-shadow to the image container to create a shadow effect. You can adjust the shadow properties such as the color, size, and offset to achieve the desired effect.
Position the image container relative to its parent container and set its z-index to a higher value to make it appear on top of the background.
Use absolute positioning to center the image within its container. In your code, you have already set the image to absolute position and aligned it to the top and left. To center it, you can use the transform property and translate it by 50% in both the X and Y directions.
Here's an updated code snippet that incorporates the above steps:
<div class="text-center flex flex-col relative">
<div class="hidden md:flex mx-auto flex flex-row items-center">
<p class="mr-4 text-white font-extrabold leading-tight text-4xl flex">Let the music</p>
<div class="bg-other h-48 w-48 rounded-full overflow-hidden shadow-lg z-10 relative">
<img src="Sources/img/assets/people_music_login.png" alt="people" class="object-cover h-full absolute top-0 left-0 transform translate-x-1/2 translate-y-1/2" />
<p class="ml-4 text-white font-extrabold leading-tight text-4xl flex">carry you away</p>
In the updated code, the image container with the class bg-other has been set to relative position to allow for absolute positioning of the image. The image has been centered both horizontally and vertically using the transform property. The z-index of the image container has been set to a higher value to make it stand out from the background. Finally, a box-shadow has been added to the image container to create a shadow effect.