Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
#section {
position: absolute;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
#core_card {
width: 800px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10px;
background-color: rgb(255, 255, 255);
.post_link {
margin: 10px;
color: rgb(102, 153, 255);
.post_meta {
color: rgb(126, 126, 127);
margin: -15px 0px 0px 15px;
.post_excerpt {
margin: 10px;
<section id="section" center vertical layout>
<core-card id="core_card" layout vertical>
<a class="post_link">{{ title }}</a>
<div class="post_meta">10/10/2010 - Author Name - Tags: ha, ha, ha, he</div>
<div class="post_excerpt">{{ excerpt }}</div>
title: 'A very very veeeeery long post title',
date: '10/10/2010',
author: 'Author Name',
tags: 'ha, ha, ha, he',
excerpt: 'Nam at diam tempus, tempus dui sed, rutrum nibh. Sed laoreet arcu ac mollis dignissim. Vivamus in lacus sagittis est ullamcorper vehicula. Donec bibendum ullamcorper est aliquet mollis. Donec egestas tempus turpis nec dapibus. Fusce quis odio gravida, vestibulum dolor eget, pulvinar ipsum. Curabitur imperdiet hendrerit metus nec dictum. Vivamus luctus erat congue justo gravida imperdiet. In at nisl lorem.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.