Card ribbon in pure CSS. (in bytes!)
Install
$ npm install --save card-ribbonUsage
The parent element of .card-ribbon should be position: relative;
This is the ribbon!
Whatever contents...
Then include the CSS file via attribute.
Or use some CSS pre-processor:
@import "card-ribbon";
Browser Support
IE 10 and above, Chrome, Safari, Firefox and a bunch of shit.
License
MIT © EGOIST