O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

It's time to get classy

Let's start by taking a look at our app's main app.css file inside the App directory:

/*In NativeScript, the app.css file is where you place CSS rules thatyou would like to apply to your 

entire application. Check outhttp://docs.nativescript.org/ui/styling for a full list of the CSSselectors and 

properties you can use to style UI components./*For example, the following CSS rule changes the font size 

of all UIcomponents that have the btn class name.*/.btn {  font-size: 18;}/*In many cases you may want to use the NativeScript core theme insteadof writing your own CSS rules. For a full list 

of class names in the themerefer to http://docs.nativescript.org/ui/theme.*/@import 'nativescript- theme-core/css/core.light.css'; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required