Skip to content

Instantly share code, notes, and snippets.

@Larceniii
Created July 17, 2014 18:01
Show Gist options
  • Save Larceniii/cec58b1c4206baf7da0d to your computer and use it in GitHub Desktop.
Save Larceniii/cec58b1c4206baf7da0d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../pp-barcode/pp-barcode.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#pp_receipt {
left: 840px;
top: 240px;
position: absolute;
border: 10px solid;
}
#pp_receipt1 {
left: 920px;
top: 610px;
position: absolute;
}
#pp_barcode {
left: 1150px;
top: 470px;
position: absolute;
}
</style>
<polymer-element name="pp-receipt" attributes="pics">
</polymer-element>
<pp-barcode id="pp_barcode"></pp-barcode>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment