Kickass: Charts.css. Also of interest: Which color scale to use when visualizing data.
Tag Archives: css
CSS property usage
This popped up on lobsters today: Chrome Platform Status: CSS usage. It’s a report on the prevalence of CSS properties as found in the wild. It’s interesting. I was surprised by some things. e.g. ‘display’ and ‘position’ are more prevalent than ‘padding’ and ‘margin’.
The Complete CSS Grid Tutorial
The Complete CSS Grid Tutorial. Say no more.
NES.css
lol, this is great: NES.css
How to use CSS
Articles I ran into today:
Incomplete List of Mistakes in the Design of CSS
Today I discovered Incomplete List of Mistakes in the Design of CSS.
CSS Variables and How To Use Them
A quick run down on CSS Variables and How To Use Them. Note the var() function can take 2nd parameter for a default value.
:root {
--primary-color: #333;
}
div {
color: var(--primary-color, #444);
}
p {
background-color: var(--primary-color);
}
.fancy {
border-color: var(--primary-color);
}
CSS Box Sizing
Read a good article about Box Sizing over on CSS Tricks.
In summary:
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
Full-Bleed Layout Using CSS Grid
Today I read about how to do a Full-Bleed Layout Using CSS Grid.
Axiomatic CSS and Lobotomized Owls
Today I learned about the “Lobotomized Owl” CSS selector over on Axiomatic CSS and Lobotomized Owls.