draw angular side / parallelogram using CSS
Need to draw angular sides of menubar as inner content may be the some labels or links. How about using CSS3 transform skew ? Demo .shape { width: 200px; height: 50px; -webkit-transform: skew(30deg); -moz-transform: skew(30deg); transform: skew(30deg); background: #000; margin: 20px; } Nothing much to explain here, it's a simple div element, which I've skewed by 30deg which will result in the shape you expected. Note: It's a CSS3 property, so older browsers, as well as IE will spoil your things, make sure you use CSS3 Pie . Other way to achieve this is by using :after and :before pseudo and