Sorry for asking this type of ques. But i want to know that I have a Parent Div
with height
and width
as 100px
It looks like square. Is there is a way to customize the width alone like top-width
and bottom-width
For example
width
is applicable for left to right
and height
is applicable for top to bottom
If top-width is zero
and bottom width is 100
,height is 100
then it looks like triangle
Here is the FIDDLE
The same way i want to do with different shape. Is there is Possible to achieve that in css.
Any suggestion would be great.