Search
Full Bleed
15.10.2020
We’ve covered techniques before for when you want a full-width element within a constrained-width column, like an edge-to-edge image within a narrower column of text. There are loads of techniques.
Perhaps my favorite is this little utility class:
.full-width {
width: 100vw;
position:...
How to Recreate the Ripple Effect of Material Design Buttons
12.10.2020
When I first discovered Material Design, I was particularly inspired by its button component. It uses a ripple effect to give users feedback in a simple, elegant way.
How does this effect work? Material Design’s buttons don’t just sport a neat ripple animation, but the animation also...
Bitmex CEO Hayes Steps Down Following U.S. Criminal Charges
8.10.2020
Arthur Hayes, chief executive officer of bitcoin derivatives exchange Bitmex, is stepping down from his position a week after U.S. prosecutors filed criminal charges against him. Hayes is leaving together with other top executives who are facing similar charges. The company announced on Thursday...
How to Detect When a Sticky Element Gets Pinned
5.10.2020
The need for position: sticky was around for years before it was implemented natively, and I can boast that I implemented it with JavaScript and scroll events for ages. Eventually we got position: sticky, and it works well from a visual perspective, but I wondered how can we determine when...
Grayscale Investments Scooped Up Over 17,000 BTC in the Last Seven Days
28.9.2020
During the last seven days, Grayscale Investments purchased 17,100 BTC or $182 million worth of bitcoin using today’s exchange rates. The company’s bitcoin position is now close to 450,000 BTC worth roughly $4.7 billion. The Grayscale Bitcoin Trust (GBTC) is a very popular investment...
How to Use CSS Grid for Sticky Headers and Footers
2.9.2020
CSS Grid is a collection of properties designed to make layout easier than it’s ever been. Like anything, there’s a bit of a learning curve, but Grid is honestly fun to work with once you get the hang of it. One area where it shines is dealing with headers and footers. With a little...
Stacked Cards with Sticky Positioning and a Dash of Sass
13.8.2020
The other day, I spotted this particularly lovely bit from Corey Ginnivan’s website where a collection of cards stack on top of one another as you scroll.
I started wondering how much JavaScript this would involve and how you’d go about making it when I realized — ah! — this must be the work...
Position Vertical Scrollbars on Opposite Side with CSS
23.7.2020
Fair warning: I can’t say I recommend this in general because it breaks a very strong expectation of where scrollbars are, which are useful for a lots of folks, not to mention, a core accessibility feature for many.
But it is a fascinating CSS trick and the web is a big place with...
Miner Hoards: Q2 Bitcoin Mining Supply Outflow Touches 12-Month Low
17.7.2020
Onchain data shows that bitcoin miners are hoarding despite the 50% loss in revenue that started on May 11, during the third reward halving. The seven-day average of bitcoin miners’ outflow volume and mining funds sent to exchanges remains significantly low. Roughly four weeks ago on June...
US Dept of Homeland Security Buys Analytics Software From Coinbase
12.7.2020
Coinbase is selling its blockchain analytics software to the U.S. Department of Homeland Security and the U.S. Secret Service. Following criticisms from the crypto community, CEO Brian Armstrong defended Coinbase’s position. Coinbase Selling Analytics Software to US Government Public records...
Memorize Scroll Position Across Page Loads
9.7.2020
Hakim El Hattab tweeted a really nice little UX enhancement for a static site that includes a scrollable sidebar of navigation.
???? If you've got a static site with a scrollable sidebar, it really helps to memorize the scroll position across page loads.
(left is default, right memorized)...
Tether’s Market Valuation Grows 144% in 2020, USDT Market Cap Worth $10 Billion
2.7.2020
The most popular stablecoin, Tether, has propelled its way into the third-largest position by cryptocurrency market capitalization. At the time of publication, a number of market valuation aggregators show that Tether’s market cap is between $9.1 to $10.1 billion. Tether (USDT) is a well...
Patternico
20.6.2020
I remember searching for tutorials for making seamless patterns in Photoshop¹ all the time back in the day.
It’s fun to see this little website for building repeating patterns as its one job. It does everything you’d expect: pick a background, drag some decorations onto it and position...
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...
XRP Loses its Position as the Third-largest Cryptocurrency
29.5.2020
Cryptocurrency is a type of digital currency with cryptography, used for providing a secure medium for exchange. The model of Ripple (XRP) was presented in 2004, which makes it older than Bitcoin. Initially, it did not receive any significant response, as it was a decentralized payment policy....
A “new direction” in the struggle against rightward scrolling
21.5.2020
You know those times you get a horizontal scrollbar when accidentally placing an element off the right edge of the browser window? It might be a menu that slides in or the like. Sometimes we to overflow-x: hidden; on the body to fix that, but that can sometimes wreck stuff like position:...
List Style Recipes
5.5.2020
Lists are a fundamental part of HTML! They are useful in things like blog posts for listing out steps, recipes for listing ingredients, or items in a navigation menu. Not only are they an opportunity for styling, but they have accessibility implications. For example, the number of items in a list...
African Gold’s Position Amid the Global COVID-19 Crisis
24.4.2020
With blockchain tech implementation, Africa’s economic growth could rely on the continent’s gold industry, as revealed by the COVID-19 pandemic
When debugging, your attitude matters
12.4.2020
Julia Evans:
I was debugging some CSS last week, and I think that post is missing something important: your attitude.
Now – I’m not a very good CSS developer yet. I’ve never written CSS professionally and I don’t understand a lot of basic CSS concepts (I think I finally understood for the first...
Indicating Scroll Position on a Page With CSS
24.3.2020
Scrolling is something we all know and do on the web to the extent that it’s an expectation or perhaps even a habit, like brushing our teeth. That’s probably why we don’t put too much thought into designing the scrolling experience — it’s a well-known basic function. In fact, the popular “there...