On Mon, 30 May 2016 at 19:01 <[email protected]> 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.
>

https://jsfiddle.net/rvem3v8d/

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.

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CABtuYwfgYgxKjGLhoe4mhCi3oJgbFEcJ5D2GG6dY3a%3D5piV31w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to