Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Put <content></content> at end of image template #72

Open
tdesc opened this issue Mar 28, 2016 · 2 comments
Open

Put <content></content> at end of image template #72

tdesc opened this issue Mar 28, 2016 · 2 comments

Comments

@tdesc
Copy link

tdesc commented Mar 28, 2016

In earlier versions of element it have.

  <content></content>

It allows to put content over image with very little efforts.
In latest releases it was removed completely.

@bicknellr
Copy link
Contributor

Oh, looks like I did this in #44 without any comment about it.. I don't really think it should be reverted though; iron-image (like img) isn't meant to be a container. I suspect background-* properties might be more useful if that's what you're going for. But, here's a demo of overlapping stuff w/ an iron-image just in case. Do you have a particular use case in mind?

@tdesc
Copy link
Author

tdesc commented Mar 30, 2016

What i'm doing is really using image as container with background. demo
Having seems to have no additional overhead for iron-image, but gives you power of container. ( as it was in ealier versions )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants