daube-card
v0.1.4
Published
A simple card --- material-influenced, vanilla js custom element.
Downloads
11
Readme
daube-card
A simple card --- material-influenced, vanilla js custom element.
Installation
npm install --save daube-card
This custom element requires the webcomponents-lite polyfill in order to work on all browsers
Please see webcomponents.org for more information about Polyfills
Import the custom element by:
<script src="./node_modules/daube-card/daube-card-compiled.js"></script>
Usage
Include the custom element in the html page
<daube-card></daube-card>
Options
The following options are available within the daube-card tag:
- cardcolor -
cardcolor="rgba(255, 255, 255, 0.81)"
- hexcodes OR rgb OR rgba