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'; ...

Get NativeScript for Angular Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.