Search
The Dark Side of the Grid
10.3.2019
Manuel Matuzovic makes the point that in order to use CSS grid in some fairly simple markup scenarios, we might be tempted to flatten our HTML to make sure all the elements we need to can participate on the grid. What we need is subgrid and non-buggy display: contents;, so I'd like to think in...
What We Want from Grid
27.2.2019
We felt spoiled with CSS grid for a minute there. It arrived hot and fast in all the major browsers all at once. Now that we're seeing a lot more usage, we're seeing people want more from grid.
Michelle Barker lists hers wants (and I'll put my commentary after):
Styling row and column gaps. I've...
Look Ma, No Media Queries! Responsive Layouts Using CSS Grid
27.2.2019
Not only has CSS Grid reshaped the way we think and build layouts for the web, but it has also contributed to writing more resilient code, replacing "hacky" techniques we've used before, and in some cases, killing the need to rely on code for specific resolutions and viewports. What's so cool about...
Responsive Designs and CSS Custom Properties: Building a Flexible Grid System
26.2.2019
Last time, we looked at a few possible approaches for declaring and using CSS custom properties in responsive designs. In this article, we’ll take a closer look at CSS variables and how to use them in reusable components and modules. We will learn how to make our variables optional and set fallback...
Build an Infinite Scroll Image Gallery with React, CSS Grid and Unsplash (Solution to Code Challenge #16)
25.2.2019
Last week on the code challenge we set out to build an image gallery with Infinte Scroll and consuming the Unsplash API. You can complete the challenge here if you haven't.
In this post, we
Using CSS Grid the right way
22.2.2019
Violet Peña has shared her recommendations for using CSS Grid. They basically boil down to these high-level points:
Use names instead of numbers for setting up our grid columns.
fr should be our flexible unit of choice.
We don’t really need a grid system anymore.
Although this is all great advice...
CSS Variables + calc() + rgb() = Enforcing High Contrast Colors
21.2.2019
As you may know, the recent updates and additions to CSS are extremely powerful. From Flexbox to Grid, and — what we’re concerned about here — Custom Properties (aka CSS variables), all of which make robust and dynamic layouts and interfaces easier than ever while opening up many other...
IE10-Compatible Grid Auto-Placement with Flexbox
18.2.2019
If you work on web applications that support older browsers, and have lusted after CSS Grid from the sidelines like I have, I have some good news: I've discovered a clever CSS-only way to use grid auto-placement in IE10+!
Now, it's not actually CSS Grid, but without looking at the code itself,...
Collective #492
14.2.2019
WebBluetooth * Ludwig * CSS Scroll Snap * instant.page * Intro to Font Metrics * To Grid or to Flex?
Collective #492 was written by Pedro Botelho and published on Codrops
Grid Reveal Effects with Anime.js
13.2.2019
Some experiments with the new staggering system of Anime.js where we try different effects for hiding and showing thumbnails in an image grid.
Grid Reveal Effects with Anime.js was written by Mary Lou and published on Codrops
Quick! What’s the Difference Between Flexbox and Grid?
12.2.2019
Let's go rapid fire and try to answer this question with quick points rather than long explanations. There are a lot of similarities between flexbox and grid, starting with the fact that they are used for layout and much more powerful than any layout technique that came before them. They...
Where Do You Nest Your Sass Breakpoints?
11.2.2019
I love nesting my @media query breakpoints. It's perhaps the most important feature of Sass to me. Maybe I pick a method and do it like this:
.element {
display: grid;
grid-template-columns: 100px 1fr;
@include breakpoint(baby-bear) {
display: block;
}
}
That's straightforward enough....
Grid v návrhu uživatelského rozhraní — jednodušší, než si myslíte, ale důležitější, než jste čekali
30.1.2019
Nic nového pod sluncem. Bootstrap, vertikální grid, horizontální grid. Spočítejte, nastavte, pochopte a porušujte. Co jste o gridu možná nevěděli
WDRL — Edition 255: CSS Grid Flex-Columns, Lost Screen Time, Wait and UX Personalization.
25.1.2019
Hey,
The only constant in life is change, they say. And it’s true even if we think nothing changes in life. It’s all only how you perceive things, how you observe things and whether you notice the change or not. In tech, it’s easy, just read a newsletter like this one and see how much changes...
Layer Motion Slideshow
24.1.2019
A CSS Grid-based slideshow template with a layer motion effect on the main image and title.
Layer Motion Slideshow was written by Mary Lou and published on Codrops
Collective #485
21.1.2019
Lucid * Web Performance Mini Series * TypeScript ESLint * Beyond the interface * Animating URLs * Animating CSS Grid
Collective #485 was written by Pedro Botelho and published on Codrops
Angular, Autoprefixer, IE11, and CSS Grid Walk into a Bar…
18.1.2019
I am attracted to the idea that you shouldn't care how the code you author ends up in the browser. It's already minified. It's already gzipped. It's already transmogrified (real word!) by things that polyfill it, things that convert it into code that older browsers understand, things that make...
Collective #484
17.1.2019
JavaScript Modules * Spectrum * A more complicated web * SVRF API * CSS Grid for Designers * Emscripten and npm
Collective #484 was written by Pedro Botelho and published on Codrops
Spoják – týden druhý. GHIDRA od NSA, DocumentDB od Amazonu a privátní repozitáře od GitHubu. A tím nadílka nekončí.
14.1.2019
Heslovitě: GHIDRA. mkcert. Github má free private repozitáře. Atom 1.34. Nejlepší baterie. CES 2019. Homebrew 1.9.0 a Linuxbrew. DNS-over-TLS u Googlu. Amazon DocumentDB. Česká kyber-armáda. Spleen. Fromjs. Dejavu 3.0. Magic grid. Arm Forge pro Python
Piecing Together Approaches for a CSS Masonry Layout
11.1.2019
Masonry layout, on the web, is when items of an uneven size are laid out such that there aren't uneven gaps. I would guess the term was coined (or at least popularized) for the web by David DeSandro because of his popular Masonry JavaScript library, which has been around since 2010.
JavaScript...