Answers for "give height to Image in nextjs"

0

give height to Image in nextjs

<div style='width:104px;height:104px;position:relative;'>
  <Image
    alt='Mountains'
    src='/mountains.jpg'
    layout='fill'
    objectFit='contain'
  />
</div>
Posted by: Guest on October-26-2021

Browse Popular Code Answers by Language