How to set the overflow: hidden only horizontally?

Need to the contents of the block vertically went beyond the boundaries of, and horizontally - cut. Overflow-x: hidden does not help, but just adds a block scroll bar. I would be grateful for advice.
April 4th 20 at 13:26
2 answers
April 4th 20 at 13:28
Nitsche not understand...

https://codepen.io/Milo/pen/zYxezML
April 4th 20 at 13:30
More imagination, and succeed.
You don't cut the red circle, but just put on top of it padding a certain thickness yellow. I could do that. I need this cycle not to hide, and that he did not go beyond the boundaries of green block horizontally in principle. - karlee.Conn commented on April 4th 20 at 13:33
@karlee.Conn, it does not go beyond the boundaries of green block horizontally. - Derek.Rob commented on April 4th 20 at 13:36
@Derek.Rob, so I don't fully understand. Continue, thank you :) - karlee.Conn commented on April 4th 20 at 13:39
Like modern art)) - fred_Konopelski commented on April 4th 20 at 13:42
@fred_Konopelski, I also liked. Think print and frame on the wall. - Derek.Rob commented on April 4th 20 at 13:45

Find more questions by tags CSS