.bookmarkRibbon{
width:0;
height:100px;
border-right:50px solid blue;
border-left:50px solid blue;
border-bottom:30px solid transparent;
}
<div class="bookmarkRibbon"></div>
I'm struggling to make a version of this shape where the ribbon is pointing right instead of down, how can I achieve this?
If you 'rotate' the css properties, it rotates the form by 90 degrees.
http://jsfiddle.net/6HyjZ/6/
Use the
rotate
css transform:http://jsfiddle.net/6HyjZ/13/
Use
transform:rotate
:Just swap what you have and you are good to go jsfiddle:
You already have the shape, just use the transform property to change its angle.
Here is the code that I have added to the code you have.
Here is the fiddle, http://jsfiddle.net/6HyjZ/11/ It now points to the right (unless that's right right side)