If you miss method chaining from Ruby or jQuery when working with styles in JavaScript, you can recreate the pattern with a few lines of code
With a simple CSS trick, we can get fine-tuned control over how shadows are rendered, and create richer and more realistic 3D effects
This reference guide will help you convert jQuery's most common patterns to vanilla JavaScript
You can break to a new flexbox row or column without setting the size of an item: add a collapsed flex item between two flex items
Creating a masonry (or mosaic) layout with flexbox produces a grid with a seemingly shuffled and obscure order, but we can achieve a natural ordering by using :nth-child() and the order property
Quickly create grids, masonry, stacks and more layouts with these 10 CSS flexbox templates
Simple guiding principles for making animations more meaningful
A step-by-step guide walking you through how to build your first interactive graph with Chart.js
A list of 10 graphs (bar chart, pie, line, etc.) with data set up to render charts that you can copy and paste into your projects
We can apply one timing function per axis to produce curved paths, by using two or more objects to drive an animation.
Spoiler-alert: you don't. You use a pseudo-element.
A quick trick: add a pseudo-element and animate it with CSS transitions on hover.
Chaining in jQuery let's you write code that is faster to execute, easier to read, and easier to maintain.
I love to design and make things. I used to make things at Spotify and Minecraft, and am currently a design engineer at GitHub. Say hi!
Tobias Ahlin Bjerrome
Stockholm, Sweden