Version: Unity 6.1 Alpha (6000.1)
Language : English
Create an aspect ratio custom control
Introduction to USS

Style UI

You can style your UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
with a Unity Style Sheet (USS). USS files are text files inspired by Cascading Style Sheets (CSS) from HTML. USS syntax is the same as CSS syntax, but USS includes overrides and customizations to work better with Unity.

Topic Description
Introduction to USS Understand the fundamental building blocks of a USS.
USS selectors Learn how to use USS selectors by examples.
USS properties Learn everything about USS properties.
USS custom properties (variables) Learn everything about USS custom properties.
Apply styles with C# Learn how to apply style sheet to visual elementsA node of a visual tree that instantiates or derives from the C# VisualElement class. You can style the look, define the behaviour, and display it on screen as part of the UI. More info
See in Glossary
in a C# script.
Best practices for USS Understand what you need to know when you write USS.
Theme Style Sheet (TSS) Learn how to use TSS files for management purposes.
Apply masking effects in UI Toolkit Learn how to use USS to apply masking effects.

Additional resources

Create an aspect ratio custom control
Introduction to USS