Search

Nalezeno "Data": 5606

Solving Sticky Hover States with @media (hover: hover)


Mezo Istvan does a good job of covering the problem and a solution to it in a blog post on Medium¹. If you tap on something that has a :hover state but you don't leave the page then, on a mobile device, there is a chance that :hover state "sticks." You'll see this with stuff like jump-links used...

A Complete Guide to Data Attributes


Everything you ever wanted to know about data attributes in HTML, CSS, and JavaScript. The post A Complete Guide to Data Attributes appeared first on CSS-Tricks

Listen to your web pages


A clever idea from Tom Hicks combining MutationObserver (which can "observe" changes to elements like when their attributes, text, or children change) and the Web Audio API for creating sounds. Plop this code into the console on a page where you'd like to listen to essentially any DOM change...

The Unseen Performance Costs of Modern CSS-in-JS Libraries


This article is full of a bunch of data from Aggelos Arvanitakis. But lemme just focus on his final bit of advice: Investigate whether a zero-runtime CSS-in-JS library can work for your project. Sometimes we tend to prefer writing CSS in JS for the DX (developer experience) it offers, without...

Crypto Exchange Model Disruptor FCoin Reports 'Severe' Damages, Data Loss


Source: iStock/traffic_analyzer Something is happening over at FCoin, a Chinese crypto exchange, and it resulted in the mysterious case of missing data. Meanwhile, the exchange opened a withdrawal process. FCoin was founded by the former CEO of Huobi exchange, Zhang Jian. It's said to be...

Toward Responsive Elements


Hot news from Brian Kardell, regarding what we've been referring to as "container queries", the most hotly requested feature in CSS: There does seem to be some general agreement on at least one part of what I am going to call instead "Responsive Design for Components" and that is that flipping...

Bitcoin Cash Captured More Than 10% of Darknet Sales Last Month


2019 was an interesting year for darknet markets (DNMs) and a number of marketplaces closed for a variety of reasons. Despite the closures, crypto payments on DNMs doubled for the first time in five years. Moreover, statistics from the blockchain analytics provider 1000x Group show digital...

The Hooks of React Router


React Router 5 embraces the power of hooks and has introduced four different hooks to help with routing. You will find this article useful if you are looking for a quick primer on the new patterns of React Router. But before we look at hooks, we will start off with a new route rendering...

From Star Trek to Wikipedia: Crashing Bitcoin SV Fails to Impress


The Bitcoin SV network and the infamous Craig Wright have been publicly scrutinized by two well known individuals. Wikipedia’s Jimmy Wales criticized BSV technology and said he doesn’t think recorded data from Wikipedia would be beneficial stored on a blockchain like BSV. Moreover...

How to Fetch and Parse RSS Feeds in JavaScript


Say you have an RSS feed like this one. The goal is to request that RSS feed, parse it, and do something useful with the data in it. RSS is XML, and XML is arguably not as easy to work with than JSON. While a lot of APIs offer JSON responses, it's less typical for RSS, although it does exist. Let's...

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