Skip to content

Instantly share code, notes, and snippets.

@xmeta
Last active November 24, 2015 14:11
Show Gist options
  • Save xmeta/2005b4f49f7c53750eaf to your computer and use it in GitHub Desktop.
Save xmeta/2005b4f49f7c53750eaf to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightLabelonBottom.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#canvas {
-webkit-user-select: none;
}
#s1_anchor_dark1 {
width: 320px;
left: 80px;
top: 20px;
position: absolute;
}
#s1_anchor_light_labelon_bottom {
width: 320px;
left: 90px;
top: 230px;
position: absolute;
}
</style>
<s1-anchor-dark id="s1_anchor_dark1"></s1-anchor-dark>
<s1-anchor-light-labelon-bottom id="s1_anchor_light_labelon_bottom"></s1-anchor-light-labelon-bottom>
</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