Directory

← Back

element-card

Element Card

Author

Rating

Popularity

<100

<element-card>

Published on webcomponents.org

Demo

element-card codepen 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

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

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • @manufosela/circle-percent#^2.1.2
  • @manufosela/nav-list#^2.4.1
  • lit-element#^2.1.0
Released
2019-04-20
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 3.0+ in 1.1.2
Browser
Browser Independent

element-card - Vaadin Add-on Directory

Element Card element-card - Vaadin Add-on Directory
# \ [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element) ## Demo [element-card codepen demo](https://codepen.io/manufosela/pen/wZXopo) ```html DEMO TEXT INTO ELEMENT-CARD ``` ## CSS Variables --imgcover-max-width --imgcover-opacity ## Install the Polymer-CLI First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) 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](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally. ## Author * **Mánu Fosela** - *Javascript Composer* - [manufosela](https://github.com/manufosela) ## License This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details
Online