Skip to content

Instantly share code, notes, and snippets.

@binzeehale
Created November 6, 2014 11:00
Show Gist options
  • Save binzeehale/abb4a2e7cc0b5cd258b9 to your computer and use it in GitHub Desktop.
Save binzeehale/abb4a2e7cc0b5cd258b9 to your computer and use it in GitHub Desktop.
Bookmark stylesheet gist.
.bookmark{
background: #b00;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b00), color-stop(100%,#900));
background-image: -webkit-linear-gradient(top, #b00 0%, #900 100%);
background-image: -moz-linear-gradient(top, #b00 0%, #900 100%);
background-image: -o-linear-gradient(top, #b00 0%, #900 100%);
background-image: -ms-linear-gradient(top, #b00 0%, #b00 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b00', endColorstr='#900',GradientType=0 );
background-image: linear-gradient(top, #b00 0%, #900 100%);
height:30px;
position:absolute;top:0;right:20px;
width:20px;
}
.bookmark:after{content:'';display:block;border:10px solid transparent;border-bottom-color:#eee;position:absolute;bottom:0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment