CSS: sections with unusual borders

I recentrly ran into a PSD template that has an unusual border with triangles. I know how to create triangles by itself using pure CSS, but the question is (just for interest) about this images:

Example one
Example two

Are these created just by a background that is already cutted like this, or can I do it using the same CSS?


Source: html

Leave a Reply