Advanced Tutorial
From BeamNG
Contents
Advanced Tutorial
This page will go through adding more advanced features to your app, including CSS, streams, the update and resize functions. The examples will be carrying on from the app created in the My First App tutorial.
app.css
The app.css file used for describing the look and formatting of a document. All standard css can be done in here, but your rules should always begin with .app .appnamehere so your CSS does not affect other things. In the example below, we make the text colour red on the h1 header added in the previous tutorial.
Example:
.app .MyFirstApp h1{ color: red; }