Search
Creating an Accessible Range Slider with CSS
7.5.2020
The accessibility trick is using <input type="range"> and wrestling it into shape with CSS rather than giving up and re-building it with divs or whatever and later forget about accessibility.
The most clever example uses an angled linear-gradient background making the input look like...
Using CSS to Set Text Inside a Circle
14.4.2020
You want to set some text inside the shape of a circle with HTML and CSS? That’s crazy talk, right?
Not really! Thanks to shape-outside and some pure CSS trickery it is possible to do exactly that.
However, this can be a fiddly layout option. We have to take lots of different things into...
Data-driven Jamstack with Sourcebit
28.2.2020
Think of building sites with Gatsby as an hourglass shape.
Gatsby itself is right in the middle. The wide funnel at the top represents the fact that Gatsby can take in data from all sorts of sources. The data could be in markdown files, from a headless CMS or some other API, from a hosted database...
A Trick That Makes Drawing SVG Lines Way Easier
14.1.2020
When drawing lines with SVG, you often have a <path> element with a stroke. You set a stroke-dasharray that is as long as the path itself, as well as a stroke-offset that extends so far that you that it's initially hidden. Then you animate the stroke-offset back to 0 so you can watch...
New Year, New Job? Let’s Make a Grid-Powered Resume!
1.1.2020
Many popular resume designs are making the most of the available page space by laying sections out in a grid shape. Let’s use CSS Grid to create a layout that looks great when printed and at different screen sizes. That way, we can use the resume online and offline, which might come in handy during...
Out of the Ashes: Four Trends to Shape Crypto in 2020
24.12.2019
The evolution of digital asset markets over the past year has gone far towards consolidating mainstream foundations
Query JSON documents in the Terminal with GROQ
7.11.2019
JSON documents are everywhere today, but they are rarely structured the way you want them to be. They often include too much data, have weirdly named fields, or place the data in unnecessary nested objects. Graph-Relational Object Queries (GROQ) is a query language (like SQL, but different) which...
Russia's Crypto Law is Taking a Confusing Shape
6.11.2019
A Russian newspaper says it has seen a copy of the much-awaited draft law "On Digital Financial Assets" – a piece of legislation that might decide the fate of cryptocurrencies in the country. However, local experts do not agree what this draft means exactly.
RBC states that "two sources familiar...
Float Element in the Middle of a Paragraph
4.11.2019
Say you want to have an image (or any other element) visually float left into a paragraph of text. But like... in the middle of the paragraph, not right at the top. It's doable, but it's certainly in the realm of CSS trickery!
One thing you can do is slap the image right in the middle of...
Real-time Multiside Refraction in Three Steps
29.10.2019
In this tutorial you will learn how to make objects appear glass-like in three steps using Three.js.
Real-time Multiside Refraction in Three Steps was written by Jesper Vos and published on Codrops
As Lightning’s Economy Takes Shape, Devs Are Split on Proposed Fee Hike
21.10.2019
At the lightning network's inaugural conference in Berlin, the future economics of the bitcoin payment technology took center stage
5 of the Best Crypto Swapping Services
12.10.2019
Creating an exchange account, signing in and placing an order every time you want to switch cryptos is like using a sledgehammer to crack a walnut. It’s an incredibly inefficient way to jump between cryptos, and given that no exchange has all the coins, it necessitates creating multiple...
The Many Ways to Link Up Shapes and Images with HTML and CSS
1.10.2019
Different website designs often call for a shape other than a square or rectangle to respond to a click event. Perhaps your site has some kind of tilted or curved banner where the click area would be awkwardly large as a straight rectangle. Or you have a large uniquely shaped logo where you only...
The Changing Shape of Crypto Funding in 2019
19.9.2019
2019 was meant to be the year of the IEO. Or was it the STO? Whatever the case, it’s had its share of both, with mixed results. While the number of successfully completed token sales and the number of IEO launchpads has increased significantly, secondary market demand has been underwhelming....
Three Predictions From the State of CSS 2019 Survey
27.6.2019
Running a developer survey like the State of CSS is a multi-stage process. First, you need to collect the data. Then, you process it into a usable shape. Finally, you come up with nifty ways to visualize it and release it to the world.
But then, once the dust settles and the traffic dies down...
Three Predictions From the State of CSS 2019 Survey
27.6.2019
Running a developer survey like the State of CSS is a multi-stage process. First, you need to collect the data. Then, you process it into a usable shape. Finally, you come up with nifty ways to visualize it and release it to the world.
But then, once the dust settles and the traffic dies down...
Collective #527
24.6.2019
Writing HTML in HTML * The perils of functional CSS * Shape (Beta) * Screenzy * How to learn D3.js
Collective #527 was written by Pedro Botelho and published on Codrops
How I Use CleanMyMac X
21.5.2019
[Chris]: I'm a lifelong Mac user. Ever since our family upgraded from a Commodore 128 to an Apple Macintosh Performa 636 (CD) when I was in middle school, I've never owned or worked on anything other than a Mac. I'm pretty dedicated to running a clean, fast, optimized, safe, and organized machine....
Oh, the Many Ways to Make Triangular Breadcrumb Ribbons!
29.4.2019
Oh, the Many Ways to Make Triangular Breadcrumb Ribbons
Let’s have a look at how we can create a row of links that sorta run into each other with a chevron-like shape and notch on each block like you might see in a hierarchical breadcrumb navigation.
You’ve probably seen this pattern a lot....
Using “box shadows” and clip-path together
11.4.2019
Let's do a little step-by-step of a situation where you can't quite do what seems to make sense, but you can still get it done with CSS trickery. In this case, it'll be applying a shadow to a shape.
You make a box
.tag {
background: #FB8C00;
color: #222;
font: bold 32px system-ui;
padding:...