Search
CSS :nth-of-class selector
23.3.2020
That's not a thing.
But it kinda is!
Bram covers how frustrating .bar:nth-child(2) is. It's not "select the second element of class .bar." It's "select the second element if it also has the class .bar." The good news? There is a real selector that does the former:
:nth-child(2 of .bar) { }
Safari...
The Multi Trillion-Dollar Stimulus Package: These Are the US Corporations Begging for Bailouts
23.3.2020
The coronavirus outbreak has caused considerable damage to the global economy and this week the U.S. is facing the onslaught of the scare. As Republicans and Democrats battle in congress over a 2020 stimulus plan, corporate industries are leaping at the chance to get a bailout. While the Fed tosses...
Here’s How Cryptocurrency Can Help Farming Community
22.3.2020
The concept of cryptocurrency and blockchain technology is revolutionizing business sectors across the globe. After proving its benefits for the financial technology domain, FMCG sector, and supply chain, the concept of digital coins is proving very much handy for the agriculture sector....
Here's How High Bitcoin Price May Go if $6.4K Becomes New Support
20.3.2020
#Bitcoin price pares some losses, but how high could it rebound?
What Does `playsinline` Mean in Web Video?
18.3.2020
I got myself confused about this the other day, went around searching for an answer and came up empty on finding something clear. The answer actually is quite clear and I feel a little silly for not knowing it.
With it in place, like this:
<video src="..." controls playsinline</video
Mobile...
The MakerDAO Auction Is Happening, Here's What to Expect
18.3.2020
The upcoming MakerDAO auction rallied strong support from the DeFi community as it seeks to make borrowers whole
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
A Complete Guide to calc() in CSS
17.3.2020
CSS has a special calc() function for doing basic math. Here's an example:
.main-content {
/* Subtract 80px from 100vh */
height: calc(100vh - 80px);
}
In this guide, let's cover just about everything there is to know about this very useful function.
calc() is for values
The only place you...
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...
WooCommerce 4.0 & WooCommerce Payments Beta
17.3.2020
Y'all know WooCommerce: it's a plugin for WordPress that adds robust eCommerce functionality to your site. Notably, like WordPress itself, it's open-source and free. You only pay for things if you need things like special plugins that extend functionality.
This is a huge month for WooCommerce!...
Here’s How You Can Create Your Own Cryptocurrency
17.3.2020
It is almost impossible to ignore the terms like cryptocurrency and blockchain technology in today’s world. Irrespective of the fact whether you like the concept or not, you need to keep yourself abreast with the developments in the field of the financial technology sector. The lure of digital...
"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
Are You Spending More Than What You Earn? Here’s How You Can Change That
14.3.2020
Financial experts often stress the importance of having savings, or an emergency fund. However, numerous people often find it quite challenging to save, let alone make ends meet with what they are earning. If you are one of those struggling to keep a saving account funded because you tend to spend...
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...
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...
Here’s Another, Surprising Reason Why Crypto Prices Fell – Derivatives
10.3.2020
The traditional markets' recent sell-off drove cryptocurrency prices down, but the way it did so was more complicated than even many of the most sophisticated players in crypto were able to grasp
Make Yourself a Little API With Netlify Functions
10.3.2020
Here's an example of a nice little use case for cloud functions. Glitch has this great package of friendly words. Say you wanted to randomly generate "happy-elephant" or "walking-tree", and you need to do that on your website in JavaScript. Well, this package is pretty big (~200 KB), necessarily...
The Gig Economy Is Unfair. Here’s How Token Models Can Help
9.3.2020
The gig economy is unfair to many workers. We need tokenized co-operatives, says Gys Hough, a Dutch VC
Creating a Modal Image Gallery With Bootstrap Components
6.3.2020
Have you ever clicked on an image on a webpage that opens up a larger version of the image with navigation to view other photos?
Some folks call it a pop-up. Others call it a lightbox. Bootstrap calls it a modal. I mention Bootstrap because I want to use it to make the same sort of thing. So, let’s...