Using web technologies for the GUI of a desktop applicationmakes a lot of sense: they’re portable, familiar, and powerful.A popular option is to use a comprehensive framework such asElectron.However, you might want the option of using a regular desktop browser —maybe you want to be able to access your application remotely,or you might prefer a lighter-weight embedded browser such aswebview.
This is the first post in a series about the distributed/decentralized web, introducing projects that cover social communication, online identity, file sharing, new economic models, as well as high-level application platforms. All are decentralized or distributed, minimizing or entirely removing centralized control. You’ll meet the people behind these projects, and learn about their values and goals, the technical architectures used, and see basic code examples of using the project or platform.
Viewport units have always been controversial and some of that is because of how mobile browsers have made things more complicated by having their own opinions about how to implement them.
Case in point: should the scrollbar be taken into account for the vw unit? What about a site’s navigation or page controls — should those count in the calculation? Then there are physical attributes of the devices themselves (hello, notch!) that can’t be overlooked.
First, a little context…
The post The trick to viewport units on mobile appeared first on CSS-Tricks.