Complete the code to set a semi-transparent red background using RGBA.
$color: rgba(255, 0, 0, [1]);
The alpha value in RGBA controls opacity. 0.5 means 50% transparent.
Complete the code to make the text color black with 30% opacity.
color: rgba(0, 0, 0, [1]);
Alpha 0.3 means 30% opacity, so the black text is mostly transparent.
Fix the error in the code to correctly set a blue background with 80% opacity.
background-color: rgba(0, 0, 255, [1]);
The alpha value must be between 0 and 1. 0.8 means 80% opacity.
Fill both blanks to create a semi-transparent green with 40% opacity and a border with 60% opacity.
background-color: rgba(0, [1], 0, 0.4); border-color: rgba(0, [2], 0, 0.6);
The green channel is 255 for full green. Using 128 for border green gives a medium green color.
Fill all three blanks to create a box shadow with 50% opacity black, offset 5px right and 10px down.
box-shadow: [1]px [2]px 5px rgba(0, 0, 0, [3]);
The box shadow offset is 5px right and 10px down, with 0.5 alpha for 50% opacity black.