I need to create a CSS shape like this image..
Please check this fiddle of my work I have created something like that, but I cannot give a curve to it.
#shape {
border-left: 70px solid transparent;
border-top: 100px solid red;
height: 0;
width: 200px;
}
Can anyone help me?
You can use a pseudo element with border-radius and background-shadows to create the curve and enable a transparent background for the curve.
Output :
demo
Variant #01:
CSS3
linear-gradient()
can draw this background as well:CSS:
Output Image:
Variant #02:
We can use
:before
and:after
pseudo elements and use css3 transformation to make this shape with round corners.