Search

Nalezeno "grid": 344

Equal Columns With Flexbox: It’s More Complicated Than You Might Think


As awesome as flexbox is, what it’s doing under the hood is actually a little strange because, by default, it is doing two things at once. It first looks at the content size which is what we would get if by declaring width: max-content on an element. But on top of that, flex-shrink is also doing...

Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries


A little while back, Chris shared this nice hexagonal grid. And true to its name, it’s using —wait for it — CSS Grid to form that layout. It’s a neat trick! Combining grid columns, grid gaps, and creative clipping … The post Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media...

Cheap Power Is Creating a Bitcoin Mining Boom in Argentina


Argentina, the ailing South American country, is experiencing a cryptocurrency mining resurgence due to artificially low power rates maintained by subsidies from the national government. This fact, alongside exchange controls and the possibility of selling obtained assets at a higher exchange rate...

Euismod


An interactive tool for learning grid syntax from Etesam Ansari. In the Learn section, it teaches you some concepts (involving multiple bits of the grid syntax) then gives you a task to complete by filling out the right syntax. I’m … The post Euismod appeared first on CSS-Tricks. You...

DevTools for CSS layouts 2021 edition


Chen Hui Jing covers some recent movement in DevTools: Firefox’s grid inspector was pretty full-featured from the get-to and released together with CSS grid in Firefox 52. It was constantly improved upon since. Chrome added a basic grid inspector … The post DevTools for...

Variable Aspect Ratio Card With Conic Gradients Meeting Along the Diagonal


I recently came across an interesting problem. I had to implement a grid of cards with a variable (user-set) aspect ratio that was stored in a --ratio custom property. Boxes with a certain aspect ratio are a classic problem in … The post Variable Aspect Ratio Card With Conic Gradients...

Safari 14.1 Adds Support for Flexbox Gaps


Yay, it’s here! Safari 14.1 reportedly adds support for the gap property in flexbox layouts. We’ve had grid-gap support for some time, but true to its name, it’s limited to grid layouts. Now we can use gap in either type … The post Safari 14.1 Adds Support for Flexbox Gaps...

Eliminating five top compatibility pain points on the web


Robert Nyman and Philip Jägenstedt: Google is working with other browser vendors and industry partners to fix the top five browser compatibility pain points for web developers. The areas of focus are CSS Flexbox, CSS Grid, position: sticky,  … The post Eliminating five...

Building a Settings Component


This is a tremendous CSS-focused tutorial from Adam Argyle. I really like the “just for gap” concept here. Grid is extremely powerful, but you don’t have to use all its abilities every time you reach for it. Here, Adam … The post Building a Settings Component appeared first...

Building a Settings Component


This is a tremendous CSS-focused tutorial from Adam Argyle. I really like the “just for gap” concept here. Grid is extremely powerful, but you don’t have to use all its abilities every time you reach for it. Here, Adam … The post Building a Settings Component appeared first...

Some Articles About Accessibility I’ve Saved Recently


“Good news about display: contents and Chrome” — Rachel Andrew notes that the accessibility danger of using display: contents; is fixed in Chrome. The problem was that, say you had a parent div that is laid out as a grid … The post Some Articles About Accessibility I’ve...

Gaps? Gasp!


At first, there were flexboxes (the children of a display: flex container). If you wanted them to be visually separate, you had to use content justification (i.e. justify-content: space-between), margin trickery, or sometimes, both. Then along came grids (a … The post Gaps? Gasp! appeared...

State Grid Set to Leverage Wanchain’s Blockchain Technology


Wanglu Tech Ltd., popularly known as Wanchain, a leading high-tech blockchain network solutions provider, took to Twitter to announce that the State Grid Corporation of China is set to adopt Wanchain’s services. With this development, State Grid will leverage Wanchain’s most advanced...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace