A simple card --- material-influenced, vanilla js custom element.
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>
Include the custom element in the html page
<daube-card></daube-card>
The following options are available within the daube-card tag:
- cardcolor -
cardcolor="rgba(255, 255, 255, 0.81)"
- hexcodes OR rgb OR rgba