Search
Striking a Balance Between Native and Custom Select Elements
12.6.2020
Here’s the plan! We’re going to build a styled select element. Not just the outside, but the inside too. Total styling control. Plus we’re going to make it accessible. We’re not going to try to replicate everything that the browser does by default with a native <select> element. We’re going...
Learn Z-Index Using a Visualization Tool
12.6.2020
There are some neat interactive demos in here from Thiru Manikandan. There are a couple of very tricky things with z-index that never fail to confuse. In addition to things like requiring positioning and source order, the trickiest are the stacking contexts and parent/child relationships. z-index...
On Adding IDs to Headers
11.6.2020
Here’s a two-second review. If an element has an ID, you can link to it with natural browser behavior. It’s great if headings have them, because it’s often useful to link directly to a specific section of content.
<h3 id="step-2"Step 2</a
Should I be so inclined, I could...
Analyzing Notion app performance
8.6.2020
Here’s a fantastic case study where Ivan Akulov looks at the rather popular writing app Notion and how the team might improve the performance in a variety of ways; through code splitting, removing unused vendor code, module concatenation, and deferring JavaScript execution. Not so long ago, we made...
Diverse Illustration
7.6.2020
Hey gang, #BlackLivesMatter.
One tiny way I thought we could help here on this site, aside from our efforts as individuals, is to highlight some design resources that are both excellent and feature Black people. Representation matters.
Here’s one. You know Pablo Stanley? Pablo is a wonderful...
A/B Testing Instant.Page With Netlify and Speedcurve
5.6.2020
Instant.Page does one special thing to make sites faster: it preloads the next page when it’s pretty sure you’re going to click a link (either by hovering over 65ms or mousedown on desktop, or touchstart on mobile), so when you do complete the click (probably a few hundred milliseconds...
Three Arrows Capital CEO: ‘Bart Simpson’ Patterns are Here to Stay
5.6.2020
Speaking to the Coinist Podcast on June 4, CEO Su Zhu said he believes the Bitcoin price pattern that we saw on June 1 is likely to repeat
On fixed elements and backgrounds
3.6.2020
After just playing with apsect-ratio and being pleasantly surprised at how intuitive it is, here’s an example of CSS acting unintuitively:
If you have a fixed element on your page, which means it doesn’t move when you scroll, you might realise that it no longer acts fixed if you apply a...
The First-ever Online Awards Show, GLOBAL CRYPTO AWARDS is Here!
2.6.2020
Starting this year, the GLOBAL CRYPTO AWARDS seeks to highlight the incredible achievements of crypto and blockchain companies, individuals, groups, and other associated businesses, which changed the lives of billions through borderless transactions, bringing technology to the remotest place on...
Rotated Table Column Headers… Now With Fewer Magic Numbers!
1.6.2020
Rotated <table> column headers is something that’s been covered before right here on CSS-Tricks, so shout-out to that for getting me started and helping me achieve this effect. As the article points out, if you aren’t using trigonometry to calculate your table styles, you’ll have to rely...
Crypto and Fiat Currencies Are Worlds Apart, Here Are the Reasons Why
31.5.2020
Amid this current crisis, the Bitcoin halving highlights core differences between fiat and crypto monetary systems and the distribution of power in both
Increment Issue 13: Frontend
30.5.2020
Increment is a beautiful quarterly magazine (print and web) published by Stripe “about how teams build and operate software systems at scale”. While there is always stuff about making websites in general, this issue is the first focused on front-end¹ development.
I’ve got...
Building Your First Serverless Service With AWS Lambda Functions
29.5.2020
Many developers are at least marginally familiar with AWS Lambda functions. They’re reasonably straightforward to set up, but the vast AWS landscape can make it hard to see the big picture. With so many different pieces it can be daunting, and frustratingly hard to see how they fit seamlessly into...
Jamstack News!
29.5.2020
I totally forgot that the Jamstack Conf was this week but thankfully they’ve already published the talks on the Jamstack YouTube channel. I’m really looking forward to sitting down with these over a coffee while I also check out Netlify’s other big release today: Build Plugins.
These are plugins...
First Mover: Chainlink ‘Marines’ Are HODLing and Here’s Why You Should Care
28.5.2020
Chainlink, the blockchain oracle provider, apparently has not only a devoted group of backers known as "LINK Marines," but a surprisingly committed crew of long-term investors. Here's why
Here's What People Bought With Their Bitcoin Profits
27.5.2020
Cars, pinball machines, virtual private networks (VPN), more cars - these are some of the things people have recently purchased with their bitcoin (BTC) profits.
Some BTC owners are hodlers, some are traders, but all wish to build a world where they own and manage their fortunes and are able...
Get Programmatic Control of your Builds with Netlify Build Plugins
27.5.2020
Today at Jamstack_Conf, Netlify announced Build Plugins. What it does is allow you to have particular hooks for events within your build, like when the build starts or ends. What’s nice about them is that they’re just a plain ‘ol JavaScript object, so you can insert some logic...
CSS Tips for New Devs
27.5.2020
Amber Wilson has some CSS Tips for New Devs, like:
It’s not a good idea to fix shortcomings in your HTML with CSS. Fix your HTML first!
And…
You can change CSS right in your browser’s DevTools (to open them, right-click the browser window and choose “inspect”...
WordPress Block Transforms
20.5.2020
This has been the year of Gutenberg for us here at CSS-Tricks. In fact, that’s a goal we set at the end of last year. We’re much further along that I thought we’d be, authoring all new content in the block editor¹, enabling the block editor for all content now. That means when...
Market Wrap: Here’s Why Ether’s Price Has Jumped 65% So Far This Year
19.5.2020
Ether is outperforming bitcoin in 2020 but has lower liquidity and different technical dynamics than the world’s largest cryptocurrency