Search

Nalezeno "LiNK": 1979

How I Put the Scroll Percentage in the Browser Title Bar


Some nice trickery from Knut Melvær. Ultimately the trick boils down to figuring out how far you’ve scrolled on the page and changing the title to show it, like: document.title = `${percent}% ${post.title}` Knut’s trick assumes React and installing an additional library. I’m sure...

min(), max(), and clamp() are CSS magic!


Nice video from Kevin Powell. Here are some notes, thoughts, and stuff I learned while watching it. Right when they came out, I was mostly obsessed with font-size usage, but they are just functions, so they can be used anywhere you’d use a number, like a length. Sometimes pretty basic usage...

Modern CSS Solutions for Old CSS Problems


This is a hell of a series by Stephanie Eckles. It’s a real pleasure watching CSS evolve and solve problems in clear and elegant ways. Just today I ran across this little jab at CSS in a StackOverflow answer from 2013. This particular jab was about CSS lacking a way to pause between...

A Crypto Trader’s View on Managing Risk


As we all know, cryptocurrency is the most volatile market in the world, at least for the last few years.Continue Reading The post A Crypto Trader’s View on Managing Risk appeared first on CoinMarketCap Blog

Chromium lands Flexbox gap


I mentioned this the other day via Michelle Barker’s coverage, but here I’ll link to the official announcement. The main thing is that we’ll be getting gap with flexbox, which means: .flex-parent { display: flex; gap: 1rem; } .flex-child { flex: 1; } That’s excellent...

prerender.js


This is another player in the game of rendering the page of the link that you’re about to click on before you click it. It’s like getting a decent performance boost for extremely little effort. Instant.page is another one, and I’ve been sufficiently convinced by its methodology...

A Basic Guide to Using Liquidity to Find The Best Crypto Exchanges


CoinMarketCap just made several important upgrades to the Liquidity Metric, which launched not long ago at the November 2019 TheContinue Reading The post A Basic Guide to Using Liquidity to Find The Best Crypto Exchanges appeared first on CoinMarketCap Blog

Exciting Things on the Horizon For CSS Layout


Michelle Barker notes that it’s been a heck of a week for us CSS layout nerds. Firefox has long had the best DevTools for CSS Grid, but Chrome is about to catch up and go one bit better by visualizing grid line numbers and names. Firefox supports gap for display: flex, which is great,...

Creating an Accessible Range Slider with CSS


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...

Angular + Jamstack! (Free Webinar)


(This is a sponsored post.) It’s easy to think that working with Jamstack means working with some specific set of technologies. That’s how it’s traditionally been packaged for us. Think LAMP stack, where Linux, Apache, MySQL and PHP are explicit tools and languages. or MEAN...

A Trader’s View on the Bitcoin Halving and Coronavirus


The last time the block reward for Bitcoin mining was halved was in July 2016. Since then, the crypto marketsContinue Reading The post A Trader’s View on the Bitcoin Halving and Coronavirus appeared first on CoinMarketCap Blog

Creating a Gauge in React


You should really look at everything Amelia does, but I get extra excited about her interactive blog posts. Her latest about creating a gauge with SVG in React is unreal. Just the stuff about understanding viewBox is amazing and that’s like 10% of it. Don’t miss her earlier posts like...

Enable Gatsby Incremental Builds on Netlify


The concept of an “incremental build” is that, when using some kind of generator that builds all the files that make for a website, rather than rebuilding 100% of those files every single time, it only changes the files that need to be changed since the last build. Seems like...

Our Seventh Year Anniversary


Happy Birthday to Us CMC is excited to announce that we are celebrating our seventh birthday today!  While quarantine birthdaysContinue Reading The post Our Seventh Year Anniversary appeared first on CoinMarketCap Blog

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace