O'Reilly logo

Getting Started with NativeScript by Nathanael J. Anderson

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

Styling the UI

The primary method to style our applications is the NativeScript variation on Cascading Style Sheets (CSS). If you are familiar with developing on a browser, then you should be right at home in NativeScript. If not, we will be walking you through a couple of examples to show how CSS works.

The NativeScript CSS has some differences from the normal CSS, but overall, it works pretty similar to how a browser does. How about we get started and discuss the what, why, how, and which of CSS. What is CSS, why use it, how is CSS applied, and finally, which properties does NativeScript currently support? Then, we will finish by looking at the main application wide app.css file to see how it is applied to our application.

What is CSS?

CSS is a ...

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