Search
CSS2JS
20.3.2020
To add inline styles on an element in JSX, you have to do it in this object syntax, like:
<div style={{
fontSize: 16,
marginBottom: "1rem"
}}Content
</div
That might look a little weird to us folks who are so used to the CSS syntax, where it is font-size (not fontSize), margin-bottom...
BitWise’s CEO on the Principles for Deciding Whether to Enter Crypto
20.3.2020
“Crypto Titans” is a series of personal interviews conducted by CoinMarketCap with prominent and forward-thinking minds tinkering on and behindContinue Reading
The post BitWise’s CEO on the Principles for Deciding Whether to Enter Crypto appeared first on CoinMarketCap Blog
DeFi on Bitcoin: The Time Has Come for Decentralized Finance to Run on top of Bitcoin´s Network
18.3.2020
The main aim behind DeFi (decentralized finance) is to create a financial service ecosystem that’s open-source, permissionless, transparent and functioningContinue Reading
The post DeFi on Bitcoin: The Time Has Come for Decentralized Finance to Run on top of Bitcoin´s Network appeared first...
Flexbox and absolute positioning
18.3.2020
Chen Hui Jing notes that when you absolutely position a flex item, it's no longer part of the flex layout. Except... it kinda is a little bit. If you make the child position: absolute; but don't apply any top/right/bottom/left properties, then flexbox alignment will still apply to it.
It's odd...
Ideas for Distorted Link Effects on Menus
18.3.2020
Some examples of how to use decorative distortion effects on big typography menu links.
Ideas for Distorted Link Effects on Menus was written by Mary Lou and published on Codrops
A Guide to Bitcoin Halving, and What To Expect in 2020
18.3.2020
The next bitcoin halving is almost here. The event is set to occur in mid-May of this year and willContinue Reading
The post A Guide to Bitcoin Halving, and What To Expect in 2020 appeared first on CoinMarketCap Blog
How to Create a “Skip to Content” Link
17.3.2020
Skip links are little internal navigation links that help users move around a page. It’s possible you’ve never actually seen one before because they’re often hidden from view and used as an accessibility enhancement that lets keyboard users and screen readers jump from the top of the page to...
15 Things to Improve Your Website Accessibility
17.3.2020
This is a really great list from Bruce. There is a lot of directly actionable stuff here. Send it around to your team and make it something that you all go through together.
Here's a little one that prodded me to finally fix...
Most screen readers allow the user to quickly see a list of links...
CoinMarketCap Expands Ratings and On-chain Data on Site With New Partners
17.3.2020
We just launched our on-site partnership with Crypto Briefing, TokenInsight and IntoTheBlock to provide data on cryptoasset ratings and on-chainContinue Reading
The post CoinMarketCap Expands Ratings and On-chain Data on Site With New Partners appeared first on CoinMarketCap Blog
"What You Said" (Mar. 16), a Weekly Round-Up of Sentiments From the Community
17.3.2020
CoinMarketCap crew! Welcome back to another week’s edition of “What You Said”! Here you will see fun polls conducted forContinue Reading
The post "What You Said" (Mar. 16), a Weekly Round-Up of Sentiments From the Community appeared first on CoinMarketCap Blog
CSS X
17.3.2020
My name appears in an article from Bert Bos (co-author of the original CSS spec), so I'll consider that a life accomplishment. Berts makes the point that CSS has evolved and the working group versions things, but the working group hasn't been and doesn't really plan to be involved in these...
Stop Using “Dropdown”
16.3.2020
Adrian Roselli notes that it might actually mean:
A <select> menu
An ARIA Listbox, Combobox, Menu, or Disclosure Widget
An input with a <datalist>
An input with autocomplete
A <details><summary> block
An accordion
Flyout navigation
In my own usage, I tend to mean...
Using the HTML title attribute
15.3.2020
Steve Faulkner:
User groups not well served by use of the title attribute
• Mobile phone users.• Keyboard only users.• Screen magnifier users.• Screen reader users.• Users with fine motor skill impairments.• Users with cognitive impairments.
Sounds like in 2020, the only useful thing the title...
The CSS Podcast
15.3.2020
From Adam and Una at Google, a podcast just about CSS. I believe I'm contractually obliged to link to that! Just one episode out so far, a shorty about the box model.
Last time I wrote up podcasts I like was 8 years ago most of them are dead now, except the biggies like This American Life and...
Has Corona Canceled Crypto? 25 Things That Are (and Are Not!) Affected by the Virus
14.3.2020
As the coronavirus continues to spread across the globe (and no, it’s not related to Corona beer, if you’re oneContinue Reading
The post Has Corona Canceled Crypto? 25 Things That Are (and Are Not!) Affected by the Virus appeared first on CoinMarketCap Blog
“weeds of specificity”
13.3.2020
Lara Schenck:
[...] with WordPress child themes, you are all but guaranteed to get into the weeds of specificity, hunting around theme stylesheets that you didn’t author, trying to figure out what existing declaration is preventing you from applying a new style, and then figuring out the least...
From Trolls to Hodlers: Highlights From CMC Founder Brandon Chez’s AMA
13.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
A Guide to Handling Browser Events
13.3.2020
In this post, Sarah Chima walks us through how we can work with browser events, such as clicking, using JavaScript. There’s a ton of great info in here! If JavaScript isn’t your strong suit, I think this is the best explanation of event handling that I’ve read in quite some time.
When an event...
Proof-of-Stake Founder Sunny King on Tackling Bitcoin's 'Energy Problem'
13.3.2020
“Crypto Titans” is a series of personal interviews conducted by CoinMarketCap with prominent and forward-thinking minds tinkering on and behindContinue Reading
The post Proof-of-Stake Founder Sunny King on Tackling Bitcoin's 'Energy Problem' appeared first...
Two Steps Forward, One Step Back
12.3.2020
Brent Jackson says CSS utility libraries failed somewhat:
Eventually, you'll need to add one-off styles that just aren't covered by the library you're using, and there isn't always a clear way to extend what you're working with. Without a clear way to handle things like this, developers tend...