This is the result I want:
I am using borders like:
border: 10px blue solid;
border-right: 10px white solid;
but it just makes a trapezium like shape on the right side. Is there any way to achieve what I want in pure CSS? The div
itself might contain some other DOM elements like p
, h1-h6
or some other div
s.