Package Exports
- cobo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cobo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cobo
CoBo - Colorful Border
Install
npm install cobo --save
Usage
Just include cobo.js
for test purposes or insert script cobo.min.js
for production into your project then add class cobo
to img element
Example
Insert script cobo.min.js
inside the head
element of your HTML file:
<head>
<title>CoBo</title>
<script src="cobo.min.js"></script>
</head>
then add class cobo-static
or cobo-hover
to img element:
<img class="cobo-static" src="/path/to/image">
<img class="cobo-hover" src="/path/to/image">