Giter VIP home page Giter VIP logo

Comments (14)

ZanderBrown avatar ZanderBrown commented on May 21, 2024 1

backdrop-filter: blur(10px); should do on iOS devices (no support in Chrome or Firefox)

from framework7.

mkrikson avatar mkrikson commented on May 21, 2024 1

Yeah only supported by safari and iOS safari: http://caniuse.com/css-backdrop-filter

But this enough for iOS theme

from framework7.

Dielz98 avatar Dielz98 commented on May 21, 2024 1

+1 for Frosted glass

from framework7.

ptb avatar ptb commented on May 21, 2024

Can you provide an example screenshot of what you're looking for?

from framework7.

ptb avatar ptb commented on May 21, 2024

I'm assuming you're looking for something like -webkit-filter: blur(2px); but I'm not sure. It would have to blur a separate background element and not any of the text elements. ;)

from framework7.

nolimits4web avatar nolimits4web commented on May 21, 2024

Here it is http://jsfiddle.net/3SyzN/11/
Open in desktop Safari

from framework7.

nolimits4web avatar nolimits4web commented on May 21, 2024

As you may see it looks pretty cool:) The same "frosted" bars are used everywhere on iOS. The problem in fiddle is that scrolling doesn't work on iOS. And if i add -webkit-overflow-scrolling to .page-blur-content then everything just disappear on mobile Safari))

from framework7.

thilak-rao avatar thilak-rao commented on May 21, 2024

Using CSS filter causes a lot of performance issues.

from framework7.

vscholz avatar vscholz commented on May 21, 2024

SVG filters might be a solution.

http://viget.com/inspire/frosted-glass-effect-with-blur-filters-and-masks

from framework7.

nolimits4web avatar nolimits4web commented on May 21, 2024

Closing for now as there is no good way to realize it at the moment

from framework7.

dieulot avatar dieulot commented on May 21, 2024

I just randomly stumbled on this article. I didn’t read much of it, but one thing caught my attention: the guy uses OpenGL to do blur.

iOS 8 brings WebGL to Safari and web views.

I don’t know much about WebGL, I guess to achieve a live blur effect on HTML elements it would need to take a “screenshot” of the part to blur and update it live (including, most importantly, when scrolling). Sounds like two impossible things, but maybe you’re determined enough to tinker with this. :)

from framework7.

nolimits4web avatar nolimits4web commented on May 21, 2024

Nice article, but you are right, it sounds like two impossible things :) But will see, i still hope that they stabilise css regions API in iOS 8, and it would be possible without a hassle

from framework7.

mkrikson avatar mkrikson commented on May 21, 2024

Now 2016. Still no chance?

from framework7.

lock avatar lock commented on May 21, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from framework7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.