Workshop › Traffic light › Step 7 of 12
A real traffic light shows one lamp at a time. First we dim them all with opacity.
```css
opacity: 0.25;
```opacity goes from 1 (fully visible) to 0 (invisible). 0.25 is a quarter: a dim lamp.Add the line inside .lamp, under background.
Skills: Styling with CSS
← Red, yellow, green A timeline for a lamp →