Unity UI Toolkit - Why USS Styles Get Overridden by Inline Styles
This issue can be resolved by removing inline styles.

![](
To fix this, right-click the specific inline style property and click the Unset button that appears.
After disabling the inline style with that button:
![](
You can confirm that USS is now applied correctly.
The recommended workflow is:
![](
It's best to design using USS tag syntax only as much as possible.
For reference, the example at the bottom of the image above shows applying a .yellow:hover tag to a Label element named "foo" that's contained within a TextField.
References:
Unity - Manual: Styling individual inline elements
Unity - Manual: UI Toolkit