Additional Hints
Additional hints
In addition to element-specific settings, there are tricks to achieve somewhat common goals with a few design settings.
Centering an object horizontally
To ensure an object is dead-center in the screen (that is, having the same distance to the left and right border), set the following (additional) keys:
- left: 0%
- right: 0%
- margin-left: auto
- margin-right: auto