Found 1359 bookmarks
Newest
Modernist Tiles with CSS Grid
Modernist Tiles with CSS Grid
A Modernist hydraulic tile floor, one motif rotated across the whole room, is something you'll find everywhere in Barcelona. Let's build our own in CSS Grid. Six real motifs, a whole floor of palettes.
·carmenansio.com·
Modernist Tiles with CSS Grid
Using relative colors - CSS | MDN
Using relative colors - CSS | MDN
The CSS colors module defines relative color syntax, which allows a CSS color value to be defined relative to another color. This is a powerful feature that enables the programmatic creation of complements to existing colors — such as lighter, darker, saturated, semi-transparent, or inverted variants — enabling more effective color palette creation.
·developer.mozilla.org·
Using relative colors - CSS | MDN
Unstacking CSS Stacking Contexts — Smashing Magazine
Unstacking CSS Stacking Contexts — Smashing Magazine
In CSS, we can create “stacking contexts” where elements are visually placed one on top of the next in a three-dimensional sense that creates the perception of depth. Stacking contexts are incredibly useful, but they’re also widely misunderstood and often mistakenly created, leading to a slew of layout issues that can be tricky to solve.
·smashingmagazine.com·
Unstacking CSS Stacking Contexts — Smashing Magazine
Introduction to CSS if Statements and Conditional Logic
Introduction to CSS if Statements and Conditional Logic
Conditional logic is a familiar concept to anyone who has written a programming language. Languages like JavaScript or Python use if/else statements to evaluate expressions and execute different blocks of code depending on whether the condition is true or false.
·markodenic.com·
Introduction to CSS if Statements and Conditional Logic
Brand New Layouts with CSS Subgrid • Josh W. Comeau
Brand New Layouts with CSS Subgrid • Josh W. Comeau
Subgrid allows us to extend a grid template down through the DOM tree, so that deeply-nested elements can participate in the same grid layout. At first glance, I thought this would be a helpful convenience, but it turns out that it’s so much more. Subgrid unlocks exciting new layout possibilities, stuff we couldn’t do until now. ✨
·joshwcomeau.com·
Brand New Layouts with CSS Subgrid • Josh W. Comeau