Library
Things I like and keep coming back to.
Type 10
Weighted 6
Retro desktops 9
Web 2.0 and early iPhone 4
Flat and Material 3
Modern 5
Soft and glass 4
Mine 1
Traffic lights
Mac OS X
Three drops of gel.
- Three small circles in a row.
- A radial gradient, light at the top, makes each one a drop.
- A bright inner edge and a small shadow finish them.
.light {
width: 18px;
height: 18px;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.25);
background: radial-gradient(circle at 50% 30%, #ffb3ae 0%, #ff5f57 45%, #c83a31 100%);
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 1px 1px rgba(0, 0, 0, 0.15);
}
.light.yellow { background: radial-gradient(circle at 50% 30%, #ffe3a3 0%, #febc2e 45%, #c98e12 100%); }
.light.green { background: radial-gradient(circle at 50% 30%, #b8f0ae 0%, #28c840 45%, #1a8f2b 100%); }25 of 42