Skip to content

Instantly share code, notes, and snippets.

@TessaRanzijn
Created June 6, 2014 09:16
Show Gist options
  • Select an option

  • Save TessaRanzijn/77f2f06ea780cdf47c1e to your computer and use it in GitHub Desktop.

Select an option

Save TessaRanzijn/77f2f06ea780cdf47c1e to your computer and use it in GitHub Desktop.
<link rel="import" href="../bower_components/polymer/polymer.html">
<polymer-element name="imagine-house" noscript>
<template>
<style>
.flat {margin-top:50px;
margin-left:30px;
}
</style>
<body>
<img class="flat" src="http://www.ervas.nl/sites/ervas/files/resize/gevelrenovatie/flat%20tekening-300x203.jpg">
<img class="house" src="">
</body>
</template>
<script>
Polymer('my-element' {
images: ['image1', 'image2']
})
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment