0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>If the shadow has a non-zero feathering radius, then it automatically becomes semi-transparent. But sometimes you need to make a semi-transparent shadow without a feathering radius (such as, for example, for buttons in your mini-browser).</p>
1
<p>If the shadow has a non-zero feathering radius, then it automatically becomes semi-transparent. But sometimes you need to make a semi-transparent shadow without a feathering radius (such as, for example, for buttons in your mini-browser).</p>
2
<p>To do this, you can use the new colors format for CSS, rgba. Example:</p>
2
<p>To do this, you can use the new colors format for CSS, rgba. Example:</p>
3
color: red; color: #ff0000; color: rgba(255, 0, 0, 0.5);<p>All of the color entries in the example are set to red, but the last entry is set to red with 50% transparency.</p>
3
color: red; color: #ff0000; color: rgba(255, 0, 0, 0.5);<p>All of the color entries in the example are set to red, but the last entry is set to red with 50% transparency.</p>
4
<p>In rgba, the first three values specify the color, where they can be any integer between 0 and255. The last value specifies the transparency level and can be a fractional number of between 0 (full transparency) and 1.</p>
4
<p>In rgba, the first three values specify the color, where they can be any integer between 0 and255. The last value specifies the transparency level and can be a fractional number of between 0 (full transparency) and 1.</p>
5
<p>You can set a semi-transparent color using rgba not only for shadows, but also for other properties with a color, including: frames, the background, and so on.</p>
5
<p>You can set a semi-transparent color using rgba not only for shadows, but also for other properties with a color, including: frames, the background, and so on.</p>