CSS Ribbon
Ribbon-like headers are graphic element that have in the past customarily required images. With CSS, we can now create a ribbon with some border and pseudo-element tricks.
In this article we will describe the steps required to obtain the following result :
The first step is the main element. In the following example we will use 70 % of the total width.
In the second step we will define the ribbon extremity using the before and after pseudo elements:
The third and last step is giving the ribbon fold the third dimension with a triangle shadow using the same technic as the second step.
Ribbon Generator
The following link propose you a ribbon generator to create your Ribbon CSS according to the look and feel or your Website
http://app.java-tutorial.ch/css-tools/public/css-ribbon-builder.jsf
If you have any remark or questions feel free to put a comment.If you enjoyed this tutorial and want to promote it don't hesitate to click on