Skip to content

Instantly share code, notes, and snippets.

@svjunic
Created July 8, 2014 12:02
Show Gist options
  • Save svjunic/ab7fbc0c7ba85c64a27e to your computer and use it in GitHub Desktop.
Save svjunic/ab7fbc0c7ba85c64a27e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="sv-junic-button">
<template>
<style>
:host {
position: static;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_button {
left: 160px;
top: -10px;
position: absolute;
opacity: 1;
background-color: rgb(255, 255, 255);
}
#sv-junic-button {
left: 430px;
top: 390px;
position: static;
width: 100%;
height: 100%;
display: block;
background-color: rgb(255, 255, 255);
}
#section {
position: relative;
}
</style>
<section id="section">
<paper-button label="sv.junic" raisedbutton iconsrc="https://avatars1.githubusercontent.com/u/2298775?s=460" id="sv-junic-button" center-justified center>
sv.junic
</paper-button>
</section>
</template>
<script>
Polymer('sv-junic-button', {
Super: ''
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment