@manufosela/element-card
v2.3.9
Published
Lit-Element webcomponent to draw a card with other elements and information
Downloads
49
Readme
<element-card>
Demo
<element-card id="second"
title="Javascript"
description="Advocate. ES6, ES7, functional programming"
imgcover="https://banner2.kisspng.com/20180429/www/kisspng-javascript-logo-html-comment-blog-5ae63c22d40699.0773573515250381148685.jpg"
coverBgColor="rgba(255, 255, 0, 0.3)"
textcolor="#000">
DEMO TEXT INTO ELEMENT-CARD
</element-card>
CSS Variables
--imgcover-max-width --imgcover-opacity --fsize-element-title --fsize-element-desc --fsize-element-base --font-size
Install the Polymer-CLI
First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install
to install your element's dependencies, then run polymer serve
to serve your element locally.
Viewing Your Element
$ polymer serve
Running Tests
$ polymer test
Build
$ npm run build
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Author
- Mánu Fosela - Javascript Composer - manufosela
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details