how to show image larger than the screen /parent window without overflow using tailwind css

·

1 min read

      <div className="w-full overflow-hidden flex justify-center">
        <img
          className="max-h-[30rem] max-w-none"
          src="/images/saffron-box.png"
          alt="saffron-box"
        />
      </div>