iron-image with rounded corners

174 views
Skip to first unread message

lisil...@gmail.com

unread,
May 30, 2016, 2:01:30 PM5/30/16
to Polymer
Hi! How to add corner borders to iron-image with sizing=contain? Thank you :)
P.S. border-radius doesn't work. Or works when size euqals to original one.

Daniel Llewellyn

unread,
Aug 31, 2016, 9:35:03 AM8/31/16
to lisil...@gmail.com, Polymer
On Mon, 30 May 2016 at 19:01 <lisil...@gmail.com> wrote:
Hi! How to add corner borders to iron-image with sizing=contain? Thank you :)
P.S. border-radius doesn't work. Or works when size euqals to original one.


As you can see, border radius works fine (at least in chrome and edge). However, when using "contain" the image will potentially have white-space where it's dimension-ratio is different to that of your containing iron-image.
Reply all
Reply to author
Forward
0 new messages