Search
Building Multi-Directional Layouts
23.1.2020
There are some new features in CSS that can assist us with building layouts for different directions and languages with ease. This article is about CSS logical properties and values (e.g. margin-inline-start).  These are a W3C working draft that still going under heavy editing, but have...
Searching the Jamstack
22.1.2020
Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results to your site:
<form action="https://www.google.com/search" method="get"<input type="search" name="q"...
Timeless Web Dev Articles
18.1.2020
Pavithra Kodmad asked people for recommendations on what they thought were some of the most timeless articles about web development that have changed their perspective in some way. Fun! I'm gonna scour the thread and link up my favorites (that are actually articles, although not all of them...
How We Tagged Google Fonts and Created goofonts.com
16.1.2020
GooFonts is a side project signed by a developer-wife and a designer-husband, both of them big fans of typography. We’ve been tagging Google Fonts and built a website that makes searching through and finding the right font easier.
GooFonts uses WordPress in the back end...
A Web Component with Different HTML for Desktop and Mobile
16.1.2020
Christian Schaefer has a great big write-up about dealing with web advertisements. The whole thing is interesting, first documenting all the challenges that ads present, and then presenting modern solutions to each of them.
One code snippet that caught my eye was a simple way to design a component...
How many CSS properties are there?
15.1.2020
Tomasz Łakomy posted a joke tweet about naming all the CSS attributes and Tejas Kumar replied with a joke answer, going as far as making an npm module. You can even run a terminal command to see them:
npx get-all-css-properties
You'll get 259 of them. The source code uses the website quackit.com...
How to Animate on the Web With Greensock
13.1.2020
There are truly thousands of ways to animate on the web. We’ve covered a comparison of different animation technologies here before. Today, we’re going to dive into a step-by-step guide of one of my favorite ways to get it done: using GreenSock.
(They don’t pay me or anything, I just really enjoy...
Re-creating the ‘His Dark Materials’ Logo in CSS
11.1.2020
The text logo has a slash cut through the text. You set two copies on top of one another, cropping both of them with the clip-path property.
What's interesting to me is how many cool design effects require multiple copies of an element to do something cool. To get the extra copy, at least with...
“All these things are quite easy to do, they just need somebody to sit down and just go through the website”
8.1.2020
I saw a video posted on Twitter from Channel 5 News in the UK (I have no idea what the credibility of them is, it's an ocean away from me) with anchor Claudia Liza asking Glen Turner and Kristina Barrick questions about website accessibility.
Apparently, they often post videos with captions,...
Federal Reserve Considers Creating a Separate Entity for Cash Injections
8.1.2020
While American President Donald Trump wages war with Iran, the U.S. Federal Reserve has continued to inject fresh capital into the hands of private banks by giving them $100 billion in overnight and 14-day repos on Tuesday. The same day, Rabobank strategist Philip Marey predicted the central bank...
Jetpack Slideshow Block
7.1.2020
One of the many (many) useful things that Jetpack does is give you extra-fancy custom blocks in the WordPress block (AKA Gutenberg) editor: a slideshow, business hours, contact info, GIF, Mailchimp, Map, Markdown, Pinterest, Star Rating, Recurring Payments Button, Repeat Visitor, Simple Payments...
5th straight green day for Bitcoin What is happening
7.1.2020
CoinMarketCap Daily Newsletter Your daily newsletter for 7 January, 2020 “The highest appreciation is not to utter words, but to live by them.” - John F. Kennedy In today's newsletter, we will be covering: U.S. state of Virginia's legislature looking to blockchain […]
The post 5th straight...
5th straight green day for Bitcoin What is happening
7.1.2020
CoinMarketCap Daily Newsletter Your daily newsletter for 7 January, 2020 “The highest appreciation is not to utter words, but to live by them.” - John F. Kennedy In today's newsletter, we will be covering: U.S. state of Virginia's legislature looking to blockchain […]
The post 5th straight...
How to Stack Elements in CSS
6.1.2020
If you want to create fantastic and unique visual experiences on the web, you will eventually need two elements to overlap or exist in the same place. You may even just need them to be positioned near or next to each other. Let's go over two different ways to accomplish this, one with the position...
Systems, Mistakes, and the Sea
6.1.2020
Our own Robin Rendle:
[...] folks can’t talk about real design systems problems because it will show their company as being dysfunctional and broken in some way. This looks bad for their company and hence looks bad for them. But hiding those mistakes and shortcomings by glossing over everything...
John McAfee Plans to Tokenize All 535 Members of US Congress
5.1.2020
On Saturday, the notorious John McAfee revealed a new project he’s launching that aims to tokenize all 535 members of U.S. Congress in order to sell them on the open market. McAfee said that the U.S. representative tokens will be listed on his exchange McAfeedex so people can find out what...
Even If Blockchain Can’t Secure Land Rights, It Got Us Talking About Them
3.1.2020
Anand Aanchal of the World Bank thinks blockchain spurred an interest in securing land rights but often falls short of expectations
Microbrowsers are Everywhere
3.1.2020
The word "microbrowser" clearly got my attention. Never heard that before. Colin Bendell defines them as the little parts of other software that do HTTP requests to a URL to generate a preview. Like the little URL preview in iOS messages, WhatsApp, or Slack.
I'm a tiny bit skeptical of the name...
Thank You (2019 Edition)
2.1.2020
One of our yearly traditions here is to thank all y'all CSS-Tricks readers at the passing of a new year. It means a lot to me that people come here and read the words I write, and the words of all our staff and guest authors that contribute here as well.
Thank you!
Plus, we dig into the numbers...
PSA: It’s That Time to Update the Copyright Year on Your Site
1.1.2020
Every year about this time I see articles going around reminding people how to update the copyright on their websites. Usually somewhere in the footer. You know, a line like:
© Copyright 2007-2019 CSS-Tricks
I am very absolutely not a lawyer, but this is how I understand it:
You don't actually...