DEV Community

loading...

Discussion on: TIL: Straight Borders on a Rounded Element With CSS

Collapse
afif profile image
Temani Afif

a background can also help you with less of code background: linear-gradient(red 0 0) bottom/100% 8px no-repeat #fff (#fff is the main background, you can remove it if you want transparent)

Collapse
drrecommended profile image
Tyler French

STELLAR