Workshop › Traffic light › Step 11 of 12
The round length is written once, as a CSS variable. Changing that one value speeds up or slows down the whole light.
```css
:root {
--round: 6s;
}
animation: glow var(--round) infinite;
```:root is the whole page; variables set there are visible everywhere. Their names start with --.var(--round) reads the variable where a value is needed.:root rule under the body rule..lamp, replace 6s with var(--round).Skills: Styling with CSS
← One after another Build it yourself: a pole →