Search
CSS-Tricks Chronicle XXXVIII
15.8.2020
Hey gang! I’ve been fortunate enough to be a guest in a variety of different here, so I thought it was time for another Chronicle post. You know, those special posts where I round up the random goings-on of things I do off of this site.
I joined Ed & Tom over on A Question of Code.
We...
What I Learned by Fixing One Line of CSS in an Open Source Project
14.8.2020
I was browsing the Svelte docs on my iPhone and came across a blaring UI bug. The notch in the in the REPL knob was totally out of whack. I’m always looking to contribute to open source, and I thought this would be a quick and easy fix. Turns out, there was a lot more to it than just changing...
Halfmoon: A Bootstrap Alternative with Dark Mode Built In
11.8.2020
I recently launched the first production version of Halfmoon, a front-end framework that I have been building for the last few months. This is a short introductory post about what the framework is, and why I decided to build it.
The elevator pitch
Halfmoon is a front-end framework with a...
Getting the Most Out of Variable Fonts on Google Fonts
30.7.2020
I have spent the past several years working (alongside a bunch of super talented people) on a font family called Recursive Sans & Mono, and it just launched officially on Google Fonts!
Wanna try it out super fast? Here’s the embed code to use the full Recursive variable font family from Google...
CSS Vocabulary
27.7.2020
This is a neat interactive page by Ville V. Vanninen to reference the names of things in the CSS syntax. I feel like the easy ones to remember are “selector,” “property,” and “value,” but even as a person who writes about CSS a lot, I forget some of the others....
Using Trello as a Super Simple CMS
27.7.2020
Sometimes our sites need a little sprinkling of content management. Not always. Not a lot. But a bit. The CMS market is thriving with affordable, approachable products, so we’re not short of options. Thankfully, it is a very different world to the one that used to force companies to splash out...
NBA Point Guard Spencer Dinwiddie’s Tokenized Contract Raises $1.3 Million
24.7.2020
NBA player Spencer Dinwiddie has finished the token sale of his contract that is hosted on the Ethereum blockchain. The sale of Dinwiddie’s tokenized contract raised $1.3 million which was only a tenth of what the project hoped to sell ($13.5 million). Even though the Brooklyn Nets guard...
Ethereum’s 2020 Defi Boom Doubles Active Ether Addresses, But Fees Skyrocket
22.7.2020
The number of active Ethereum addresses has grown aggressively in 2020 because of the decentralized finance (defi) boom. Active Ethereum addresses doubled in size leaving networks like Tron, Cardano, and EOS in the dust. There’s a lot happening in the world of decentralized finance (defi)...
How to Make a Monthly Calendar With Real Data
21.7.2020
Have you ever seen a calendar on a webpage and thought, how the heck did they did that? For something like that, it might be natural to reach for a plugin, or even an embedded Google Calendar, but it’s actually a lot more straightforward to make one than you might think and only requires...
Bitcoin Security 101: How to Create a 2 of 2 Multi-Signature BCH Wallet
21.7.2020
In the world of cryptocurrencies, there’s a lot of discussions and lessons when it comes to digital asset security and one of them is multisig wallets. The term multisig stands for multi-signature and the following post will teach anyone how to create a 2 of 2 multisig wallet. Years...
A little bit of plain Javascript can do a lot
8.7.2020
Julia Evans:
I decided to implement almost all of the UI by just adding & removing CSS classes, and using CSS transitions if I want to animate a transition.
An awful lot of the JavaScript on sites (that aren’t otherwise entirely constructed from JavaScript) is click the thing...
Building Serverless GraphQL API in Node with Express and Netlify
6.7.2020
I’ve always wanted to build an API, but was scared away by just how complicated things looked. I’d read a lot of tutorials that start with “first, install this library and this library and this library” without explaining why that was important. I’m kind of a Luddite when it comes to these...
When Sass and New CSS Features Collide
29.6.2020
Recently, CSS has added a lot of new cool features such as custom properties and new functions. While these things can make our lives a lot easier, they can also end up interacting with preprocessors, like Sass, in funny ways.
So this is going to be a post about the issues I’ve encountered...
Using Custom Property “Stacks” to Tame the Cascade
22.6.2020
Since the inception of CSS in 1994, the cascade and inheritance have defined how we design on the web. Both are powerful features but, as authors, we’ve had very little control over how they interact. Selector specificity and source order provide some minimal “layering” control...
Advice for Complex CSS Illustrations
17.6.2020
If you were to ask me what question I hear most about front-end development, I’d say it’s“How do I get better at CSS?” And that question usually comes up to some CSS illustration I made, which is something I love to do over on CodePen.
To many, CSS is this mythical beast that can’t...
Proposed Digital Dollar and Digital Yuan Have a Lot in Common – Report
6.6.2020
Chinese media analysts believe that there are a number of key similarities between the Digital Dollar Project and the central People’s Bank of China (PBoC)’s digital yuan – but they say that by the time the American project irons out wrinkles, it may be too late to beat Beijing to the punch.
In...
A Primer on Display Advertising for Web Designers
4.6.2020
A lot of websites (this one included) rely on advertising as an important revenue source. Those ad placements directly impact the interfaces we build and interact with every day. Building layouts with ads in them is a dance of handling them in fluid environments, and also balancing the need...
The Best Design System Tool is Slack
4.6.2020
There’s a series questions I have struggled with for as long as I can remember. The questions have to do with how design systems work: Where should we document things? Do we make a separate app? Do we use a third-party tool to document our components? How should that tie into Figma or Sketch?...
Chrome 83 Form Element Styles
3.6.2020
There have been some aesthetic changes to what form elements look like as of Chrome 83. Anything with gradient colorization is gone (notably the extra-shiny <meter stuff). The consistency across the board is nice, particularly between inputs and textareas. Not a big fan of the new <select...
Let’s Make One of Those Fancy Scrolling Animations Used on Apple Product Pages
22.5.2020
Apple is well-known for the sleek animations on their product pages. For example, as you scroll down the page products may slide into view, MacBooks fold open and iPhones spin, all while showing off the hardware, demonstrating the software and telling interactive stories of how the products...