[Ruby] overflow property [54 days remaining]

less than 1 minute read

I remembered the overflow property

There are mainly 4 values

  1. The initial value that the elements that extend from the [visible] box are displayed as is
  2. Elements outside the hidden box are not displayed
  3. Elements that extend beyond the [scroll] box are not displayed, but are displayed by scrolling
  4. [auto] The processing of the protruding element depends on the browser, and basically it is displayed by scrolling.

As a supplement 1.overflow-x: scroll; Scroll only on x-axis (horizontal direction)

  1. overflow-y: scroll; Scroll only on y-axis (vertical direction)

I don’t want the text to be long, but it doesn’t fit in the box Can be considered for use in the above cases