Question Details

No question body available.

Tags

html css

Answers (2)

March 5, 2026 Score: 0 Rep: 231 Quality: Low Completeness: 60%

Was able to acheive this with just 3 divs

enter image description here

I did this using clip-path: polygon(...)

.stage { position: relative; width: 800px; height: 500px; display: flex; }

.left, .right { width: 50%; height: 100%; }

.left { background: teal; } .right { background: navy; }

.l-shape { position: absolute; left: 0; top: 0; width: 60%; height: 100%; background: rgba(255,255,255,0.3); clip-path: polygon( 0% 0%, / top-left / 20% 0%, / top of vertical bar / 20% 70%, / inner corner / 100% 70%, / end of horizontal arm / 100% 100%, / bottom-right / 0% 100% / bottom-left / ); }

March 5, 2026 Score: 0 Rep: 17,499 Quality: Low Completeness: 0%

Perhaps you're overthinking it? Why not make the whole thing as a background image for the page?