Even though the documentation says you can apply border-radius and other border effects to UIImageView, I don't think you really can without losing your image.
I recommend placing a UIView there, assigning it a styleClass and then putting your UIImageView inside it. You can then reliably apply styles to the UIView and get the background and border effects you want around the image.
Update
There is also an issue with your CSS syntax. Pixate doesn't support the shorthand border notation. You have to write it like this:
Even though the documentation says you can apply
border-radiusand other border effects toUIImageView, I don't think you really can without losing your image.I recommend placing a
UIViewthere, assigning it astyleClassand then putting yourUIImageViewinside it. You can then reliably apply styles to theUIViewand get the background and border effects you want around the image.Update
There is also an issue with your CSS syntax. Pixate doesn't support the shorthand border notation. You have to write it like this:
Again, this has to go on a
UIViewthat contains theUIImageView.