12232 shaares
293 private links
293 private links
Selbstdeklaration
Bien expliqué :)
A programming language is low level when its programs require attention to the irrelevant.
– Alan Perlis
🤣
- Use color and weight to create hierarchy instead of size
- Don’t use grey text on colored backgrounds
- Reduce the opacity of white text
- Hand-pick a color that’s based on the background color
- Offset your shadows
- Use fewer borders
- Use a box shadow
- Use two different background colors
- Add extra spacing
- Don’t blow up icons that are meant to be small
- Use accent borders to add color to a bland design
- Not every button needs a background color
Less than 10kb gziped and do the job
Mhmhmhmh si le site de référence de train ne référence pas les trajets... ça va être compliqué de les réserver !
WOW this use of attr() function in CSS ♥
$gridGap: 2rem;
$minColWidth: 15rem;
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax($minColWidth, 1fr));
grid-gap: 2rem;
& + .grid {
margin-top: $gridGap;
}
}