Search
Do CSS Custom Properties Beat Sass Loops?
2.3.2019
I reckon that a lot of our uses of Sass maps can be replaced with CSS Custom properties – but hear me out for a sec.
When designing components we often need to use the same structure of a component but change its background or text color based on a theme. For example, in an alert, we might need...
Did you know that CSS Custom Properties can handle images too?
27.2.2019
So you might be aware of CSS Custom Properties that let you set a variable, such as a theme color, and then apply it to multiple classes like this:
:root {
--theme: #777;
}
.alert {
background: var(—-theme);
}
.button {
background: var(—-theme);
}
Well, I had seen this pattern so often...
Clipper Alert aneb poslední smutný let zkrachovalých Pan Am z Prahy
4.12.2017
Legendární aerolinky Pan American definitivně skončily, oznámily 4. prosince 1991 světové agentury. Onoho dne před 26 lety ještě mnoho lidí po celém světě čekalo, kdo je místo již neexistujícího dopravce doveze domů. Do galerie vzpomínek na neslavný konec americké firmy patří i poslední smutný...