Using blur filter with nativecss component with xamarin.ios

129 views Asked by At

I'm using nativecss Xamarin component for an iOS application I'm working on. It's really great but the other day I wanted to use this css:

img{
      filter: blur(5px);
}

but It doesn't make any changes. other css styles like border or style guide works correctly. Is this because blur and some other effects work just on HTML5 or am I doing something wrong?

1

There are 1 answers

1
j4k3 On

The webklit filter for that is vendor-prefixed. Try this instead:

img{
  -webkit-filter: blur(5px);
}