Search
Careful with Nested `display: grid; height: 100%;`
11.3.2020
It's not every day you can feel CSS be slow at something. Reddit user jgbbrd discovered nesting grid containers that all have 100% height can cause many-seconds of rendering delay. Probably not something you'll ever have to worry about, but still, interesting. From the comments:
What a funny...
Sass !default and themeable design systems
11.3.2020
This is a great blog post from Brad Frost where he walks us through an interesting example. Let’s say we’re making a theme and we have some Sass like this:
.c-text-input {
background-color: $form-background-color;
padding: 10px
}
If the $form-background-color variable isn’t defined then...
How to Pay With Crypto on Amazon Marketplace
11.3.2020
Amazon dominates the world of e-commerce. Once nothing more than an online bookstore, Amazon has grown into a titan ofContinue Reading
The post How to Pay With Crypto on Amazon Marketplace appeared first on CoinMarketCap Blog
Block Links Are a Pain (and Maybe Just a Bad Idea)
10.3.2020
As we noted in our complete guide, you can put an <a href=""> link around whatever chunks of HTML you like. Let's call that a "block link." Like you are wanting to link up an entire "Card" of content because it makes a big clickable target.
<a href="/article/"<!-- display: block;...
Negative Margins
9.3.2020
PPK digs into the subject, which he found woefully undercovered in web tech documentation. Our entry doesn't mention them at all, which I'll aim to fix.
Agree on this situation:
This is by far the most common use case for negative margins. You give a container a padding so that its contents have...
I Pressed ⌘B. You Wouldn’t Believe What Happened Next
9.3.2020
This talk by Marcin Wichary is — beyond both enthusiastic and outstanding — all about the complexity of UI design, typography, and the lengths his team at Figma has gone to make sure that doing something as simple as selecting a font from a dropdown does what you expect it to.
I’d recommend this...
Price Analysis Mar 9: BTC, ETH, XRP, BCH, BSV, LTC, EOS, BNB, XTZ, LINK
9.3.2020
Panic seems to have set in the crypto markets, which usually signals that a bottom could be close by
Use a:visited in your CSS stylesheet
9.3.2020
Evert Pot:
Unfortunately, when setting a new color (e.g. a { color: #44F }) the ‘purple visited link’ feature also gets disabled. I think this is a shame, as there’s so many instances where you’re going through a list of links and want to see what you’ve seen before.
The 2 examples I ran into...
"What You Said" (Mar. 9), a Weekly Round-Up of Sentiments From the Community
9.3.2020
Hello CoinMarketCap fam! Welcome back to this week’s edition of “What You Said,” where fun polls are conducted for ourContinue Reading
The post "What You Said" (Mar. 9), a Weekly Round-Up of Sentiments From the Community appeared first on CoinMarketCap Blog
Top 5 Cryptos This Week (Mar 8): LINK, CRO, XTZ, MKR, ETH
8.3.2020
The top-performers of this week are showing selling at higher levels. If the support levels crack, the traders can expect further selling
Price Analysis Mar 6: BTC, ETH, XRP, BCH, BSV, LTC, EOS, BNB, XTZ, LINK
6.3.2020
The bears are aggressively defending the critical resistance levels but the chart patterns suggest higher levels are likely in the next few days
The 3 Laws of Serverless
6.3.2020
Burke Holland thinks that to "build applications without thinking about servers" is a pretty good way to describe serverless, but...
Nobody really thinks about servers when they are writing their code. I mean, I doubt any developer has ever thrown up their hands and said “Whoa, whoa, whoa. Wait...
From Trolls to Hodlers: Highlights From CMC Founder Brandon Chez’s AMA
6.3.2020
Brandon Chez, the founder and CEO of CoinMarketCap, made a rare public-ish appearance online last week (without a mask andContinue Reading
The post From Trolls to Hodlers: Highlights From CMC Founder Brandon Chez’s AMA appeared first on CoinMarketCap Blog
Animating CSS Width and Height Without the Squish Effect
6.3.2020
The first rule of animating on the web: don't animate width and height. It forces the browser to recalculate a bunch of stuff and it's slow (or "expensive" as they say). If you can get away with it, animating any transform property is faster (and "cheaper").
Butttt, transform can be tricky. Check...
JavaScript Libraries Are Almost Never Updated Once Installed
5.3.2020
Some commentary from Zack Bloom on the Cloudflare Blog, looking at requests to CDNJS for versions of jQuery.
What we don’t see is a decline in our old versions which come close to the volume of growth of new versions when they’re released. In fact the release of 3.4.1, as popular as it quickly...
What React Does (and Doesn’t Do)
5.3.2020
With a name as big as React, it's bound to cause some Stream-Crossing Confusion, as I like to call it. How do you center a <div> in React? Dave Ceddia:
React cares exactly zero about styling. Think of it as generating the barebones HTML. React will put elements on the page, but everything...
Price Analysis Mar 4: BTC, ETH, XRP, BCH, BSV, LTC, EOS, BNB, XTZ, LINK
4.3.2020
Tightening trading ranges suggest that Bitcoin and Ether are likely to start a directional move within the next few days
How I think about solving problems
4.3.2020
Nicholas C. Zakas:
Eventually, I settled on a list of questions I would ask myself for each problem as it arose. I found that asking these questions, in order, helped me make the best decision possible:
1) Is this really a problem?2) Does the problem need to be solved?3) Does the problem need...
Crypto Derivatives, A Short Guide to A Growing Trade (pun intended)
4.3.2020
CoinMarketCap has now expanded its listing to include crypto derivative market data. If you are interested to learn more aboutContinue Reading
The post Crypto Derivatives, A Short Guide to A Growing Trade (pun intended) appeared first on CoinMarketCap Blog
Distorted Link Effects with SVG Filters
4.3.2020
A couple of ideas for decorative link distortion effects using SVG filters on lines, circles and squares.
Distorted Link Effects with SVG Filters was written by Mary Lou and published on Codrops