gridaco/code

Frame with `border-radius` & clip content not clipping content on web (css)

softmarshmallow opened this issue · 0 comments

Origin
image

The generated code
Screen Shot 2021-11-25 at 6 44 54 PM

Explicit overflow:hidden by user
Screen Shot 2021-11-25 at 6 45 08 PM

Although, we CAN'T always set overflow: hidden for clip content layout. this is because overflow property is also used for specifying scroll behavior on other logic gate (not sure with the execution order or importance between those two.)

The non-conflicting way is to use explicit clip-path just to specify the clipping behavior, eliminating possibility of logic conflict with scroll