
The <div> tag in CML now has three new features which can make your screen layouts more attractive.
- translucent backgrounds
- You can set the backgroundOpacity attribute to make semi-transparent overlays
- rounded corners
- The cornerRadius attribute lets you be a bit less square
- vertical gradients
- Divs can change colour from top to bottom using the backgroundGradientColors attribute.
For more information, see the CML documentation.