Version: Unity 6 (6000.0)
Language : English
Selector precedence
USS data types

USS properties

A USS property assigns a style or behavior to a VisualElement. You can specify values for a USS property.

Topic Description
USS property data types USS data types define typical values accepted by USS properties and functions.
USS common properties Describes the most common USS properties, their syntax and accepted values, and differences from CSS.
Position element with the layout engine Understand the basic USS layout properties.
Relative and absolute positioning C# example Use relative and absolute positioning to lay out UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
in C#.
Set background images Learn how to set background image and 9-slice images with UI Toolkit.
Image import settings Apply import settings for Textures, SpritesA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
, and Vector images before you use them as a background for a visual elementA 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 the UI Builder.
USS transform Understand the USS transform properties, their syntax, and accepted values.
USS transition Understand the USS transition properties, their syntax, and accepted values.
USS properties reference List of all USS properties, whether they’re inherited and their animatability.
USS color keywords List of all the color keywords.

Additional resources

Selector precedence
USS data types