Could I appoint USS in UXML file? or create a USS snippet in UXML file directly? Now, I just know one method: create a uss file, manual load the uss file, load uxml file and instantiate it, add the loaded uss into VisualElement's styleSheets. It's very boring...
https://forum.unity.com/threads/specifying-styles-uss-in-uxml-file.677917/#post-4539229 Code (csharp): <VisualElement style="border-width: 20px; border-color: rgb(255,0,0);"/>