nativize.css v0.2.0
nativize.css
A collection of styles for making electron applications appear and act more like plain old native apps
Installation
NPM
npm install --save nativize.css
Bower
bower install --save nativize.css
Features
- Prevents rubber-band scrolling of the page
- Disables dragging of images and form elements
- Disables text selection
- Defaults cursors
- Remove autofocus glow from form elements
How is this different from normalize.css?
normalize.css does an amazing job of normalizing browser inconsistencies. nativize.css is a simpler project aimed at electron apps. It does not perform any resets of any kind and both normalize.css and nativize.css should be able to coexist happily within your project.
Hat-tip
Many of these features are sourced from Jessica Lord's presentation Nativize is the new Normalize.
Going even further
Ben Gotow's presentation Building "Native Experiences" with Electron is a must watch for additional techniques to create a more native-feel to your electron app. Slides
Contributing
Please read the contribution guidelines in order to make the contribution process easy and effective for everyone involved.
Copyright
Copyright (c) Steve Agalloco. See LICENSE for details.
8 years ago