web - Can I insert image into another image in Polymer? -
what have
if have 2 images (one includes frame , includes picture),
my question
can show in same image using polymer? think looks bitmap in android , want in web don't know how
here 1 example on how place picture on picture. since didn't have pictures "faked" them span tags. plunkr
<style> .pic-one{ background: red; position: absolute; height: 30px; width: 30px; } .pic-two{ background: blue; position: absolute; margin: 5px 5px; height: 20px; width: 20px; } </style> <div class='container'> <span class='pic-one'></span> <span class='pic-two'></span> </div>
Comments
Post a Comment