W
W
web_xaser2014-05-11 16:41:00
css
web_xaser, 2014-05-11 16:41:00

How to create a custom shape with CSS?

Some elements (menu, heading, search and social buttons) need to put such shapes in the background.
5c8157b2e0bb47928eee1c1dc6b11952.png
Is it possible to make them without using images: with CSS or canvas?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Eugene Obrezkov, 2014-05-11
@webxaser

CSS Transform

A
Anna Bakurova, 2014-05-11
@Libris

And is it needed? png image will weigh little after compression, otherwise you will have to adjust the blocks according to the layout for a long time and write a lot of code.

R
Rostislav Grigoriev, 2014-05-11
@crazyzubr

With canvas, of course you can. canvasjs.com

A
alltiptop, 2014-05-11
@alltiptop

Maybe easier svg?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question