Alpha
From Frontal Wiki
Contents |
Purpose
This style sets the opacity of a visual element.
Value
A number from 0 (completely transparent) to 1 (completely opaque). The default value is 1.
alpha: .5;
Remarks
If you are having trouble setting alpha on a 'text' tag, see this FAQ.
Example
<style><![CDATA[ div { background-shape: ellipse; width: 200px; height: 200px; alpha: 0.5; movie-registration-x: 100px; movie-registration-y: 100px; } ]]></style> <div style="left: 150px; top: 100px; background-color: red;" /> <div style="left: 100px; top: 187px; background-color: green;" /> <div style="left: 200px; top: 187px; background-color: blue;" />
Can Be Applied To
This style can be applied to any visual element: