Getting Started
Trongate CSS is contained within a single CSS file named 'trongate.css'. This file is located in:
Basic Usage
Trongate CSS comes with every new installation of Trongate. Getting up and running with Trongate CSS is easy!
Let's assume your starting point is a webpage (within a Trongate application) containing the following source code:
Step 1: Add a <base> element to the <head> section of your webpage with the 'href' attribute set to your application's base URL:
The BASE_URL constant is defined inside the file 'config.php'. This constant should be set to a website address pointing to the homepage of your web application.
The config.php file is located in:
Step 2: Load the Trongate CSS stylesheet onto your webpage by adding the following new line of code to the <head> section:
After completing the steps above, Trongate CSS will automatically style your HTML elements without requiring additional classes or configuration.
Boilerplate HTML
The HTML code below demonstrates a basic, reusable template containing the essential structure and elements needed to start working with Trongate CSS: