to create a panel, for instance for a Login
ah ok
You will be able to use the SKModel component for that in the next version.
There is a difference between setting it in the designer and later, in code. This is because in the designer it is pure CSS, while in code, a javascript method is used to manipulate the style and this method requires a JSON string:
So in the designer: pure CSS, so no quotes and a ; between each item:
width:100px;height:50px;background:blue;border-radius:3px
If, later you want to change the color for example, you use the .Style property, which asks for a JSON representation of CSS.
SKButton1.Style = $"{"width":"100px","height":"50px","background":"green","border-radius":"3px"}"$