79332357

Date: 2025-01-06 07:21:40
Score: 0.5
Natty:
Report link

You can do this by applying the mx-auto class

<img className='object-cover h-20 w-35 mx-auto' src='/sampa.png' alt='logo' />

It calculates the horizontal margins (margin-left and margin-right) automatically, and centers the element within its parent container.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ayantunji Timilehin