Yeah, we see browser updates all the time these days and you may have already caught this one. Aside from slick new JavaScript features, there is one new CSS update in Chrome 63 that is easy to overlook but worth calling out:
Chrome 63 now supports the CSS
overscroll-behavior
property, making it easy to override the browser's default overflow scroll behavior.
The property is interesting because it natively supports the pull to refresh UI that we often see in native and web apps, defines scrolling regions that are handy for popovers and slide-out menus, and provides a method to control the rubber-banding effect on some touch devices so that a page does a hard stop at the top and bottom of the viewport.
For now, overscroll-behavior
is not a W3C standard (here's the WICG proposed draft). It's currently only supported by Chrome (63, of course) which also means it's in Opera (version 50). Chrome Platform Status reports that it is currently in development for Firefox and has public support from Edge.
Direct Link to Article — Permalink
New in Chrome 63 is a post from CSS-Tricks
from CSS-Tricks http://ift.tt/2iARFCw
via IFTTT
No comments:
Post a Comment