Search
Native CSS Masonry Layout In CSS Grid
1.12.2020
Rachel Andrew introducing the fact that masonry layout is going to be a thing in native CSS via CSS grid layout. The thing with masonry is that we can already do it for the most part, but there is just one thing that makes it hard: doing the vertical-staggering and having a left-to-right source...
Image Stack Intro Animation
24.11.2020
Two simple intro animations where an image stack moves to become a grid.
The post Image Stack Intro Animation appeared first on Codrops
grid-auto-flow : CSS Grid :: flex-direction : Flexbox
19.11.2020
When setting a parent element to display: flex, its child elements align left-to-right like this:
CodePen Embed Fallback
Now, one of the neat things we can do with flexbox is change the direction so that child elements are stacked vertically on top of each other in a column. We can do that with...
Thinking Outside the Box with CSS Grid
19.11.2020
Great tutorial from Alex Trost (based on some demos, like this one, from Andy Barefoot) showcasing how, while CSS grid has straight grid lines across and down, you can place items across grid lines creating a staggered effect that looks pretty rad. Grid-like, but it appears to align to diagonal...
The Cleanest Trick for Autogrowing Textareas
11.11.2020
Earlier this year I wrote a bit about autogrowing textareas and inputs. The idea was to make a <textarea> more like a <div> so it expands in height as much as it needs to in order to contain the current value. It’s almost weird there isn’t a simple native solution...
Collective #632
2.11.2020
Stories for VSCode * Copying is the way design works * Native CSS Masonry Layout In CSS Grid
The post Collective #632 appeared first on Codrops
Collective #631
29.10.2020
Game Off * Next.js Commerce * Tyrus * ML Art * Curve Modifiers in Three.js * CSS Grid Level 3 draft
The post Collective #631 appeared first on Codrops
Collective #629
22.10.2020
Hands-Free Coding * Thinking Outside the Box with CSS Grid * Responsive Height Design * SVG Favicon Maker
The post Collective #629 appeared first on Codrops
Layoutit Grid: Learning CSS Grid Visually With a Generator
15.10.2020
Layoutit Grid is an interactive open source CSS Grid generator. It lets you draw your designs and see the code as you go. You can interact with the code, add or remove track lines and drag them around to change the sizing — and you get to see the CSS and HTML change in real time!
Add some tracks...
Scroll Animations for Image Grids
14.10.2020
Some ideas for scroll animations for image grids powered by Locomotive Scroll.
The post Scroll Animations for Image Grids appeared first on Codrops
Collective #626
8.10.2020
With Code * CSS Grid full-bleed layout tutorial * Why Tailwind CSS * CSS Variables 101
The post Collective #626 appeared first on Codrops
Rise of the Underdog, Securypto Takes off as Investors Scramble To Get on Board
6.10.2020
The time of ICO’s seems behind us and many blockchain projects have fallen off the grid but one particular project seems not only to have survived but even thrived during these times. Securypto focuses on safe and truly anonymous exchange of data. In a world where datahacks have become...
Recreating the “100 Days of Poetry” Effect with Shader, ScrollTrigger and CSS Grid
5.10.2020
The latest ALL YOUR HTML live coding session where you'll learn how to recreate the effect seen on the "100 Days of Poetry" website.
The post Recreating the “100 Days of Poetry” Effect with Shader, ScrollTrigger and CSS Grid appeared first on Codrops
Canadian Firm 3iQ’s Bitcoin Fund Listed on Gibraltar Stock Exchange
30.9.2020
The Gibraltar Stock Exchange said Tuesday that it listed a new bitcoin fund belonging to 3iQ Corp, a Canadian investment fund manager that focuses on new technologies and crypto assets. The announcement follows GSX Group’s recent launch of what it calls the Grid, “a venue to create...
Achieving Vertical Alignment (Thanks, Subgrid!)
30.9.2020
Our tools for vertical alignment have gotten a lot better as of late. My early days as a website designer involved laying out 960px wide homepage designs and aligning things horizontally across a page using a 12-column grid. Media queries came along which required a serious mental shift. It solved...
Menu to Inner Page Animation with Image Grid Background
16.9.2020
A layout with a menu and background image grid that animates to an inner content page.
The post Menu to Inner Page Animation with Image Grid Background appeared first on Codrops
Beyond Media Queries: Using Newer HTML & CSS Features for Responsive Designs
4.9.2020
Beyond using media queries and modern CSS layouts, like flexbox and grid, to create responsive websites, there are certain overlooked things we can do well to make responsive sites. In this article, we’ll dig into a number tools (revolving around HTML and CSS) we have at the ready, from responsive...
How to Use CSS Grid for Sticky Headers and Footers
2.9.2020
CSS Grid is a collection of properties designed to make layout easier than it’s ever been. Like anything, there’s a bit of a learning curve, but Grid is honestly fun to work with once you get the hang of it. One area where it shines is dealing with headers and footers. With a little...
To grid or not to grid
20.8.2020
Sarah Higley does accessibility work and finds that “tables and grids are over-represented in accessibility bugs.”
The drum has been banged a million times: don’t use a <table> for layout. But what goes around comes around. What’s the the #1 item in a list...
Sichuan Officials Continue to Foster the Relationship Between Bitcoin Mining and Hydropower
18.8.2020
The province of Sichuan is well known for being one of the largest concentrations of bitcoin miners on earth because electrical costs are extremely cheap in the region. Data shows that miners using hydropower in Sichuan are paying between 0.065-0.075 yuan or $0.01 per kilowatt-hour. According...