Search

Nalezeno "trigger": 177

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

One Way to Break Users Out of the Habit of Reloading Too Much


Page reloads are a thing. Sometimes we refresh a page when we think it’s unresponsive, or believe that new content is available. Sometimes we’re just mad at the dang site and rage-refresh to let it know we’re displeased. Wouldn’t be nice to know when a user refreshes the page? Not just that,...

JavaScript ~~


JavaScript is loaded with tiny syntax tricks to accomplish useful effects. For example, explore any codebase to see !! being used to convert a value to a boolean value. Have you seen ~~ before? Let’s have a look at what it does! We can employ ~~ to trigger a Math.floor operation with those...

Satoshi ‘Nakamolto’ Emerges With Great Hair and Questionable Claims


A viral video taken at a Las Vegas event has put self-claimed “Bitcoin co-founder” Jörg Molt in the spotlight this past week. A Twitter user in the space known for hair trigger accusations calls Molt a scammer in the video, and Molt proceeds to knock off the guy’s baseball...

Bitcoin and Altcoins Breakdown Could Trigger Additional Losses


This week, we saw a steady decline in bitcoin price below the USD 11,200 and USD 11,000 support levels. Yesterday, we discussed the chances of bearish continuation below the USD 10,500 support area. BTC/USD did move down and fell significantly below the USD 10,000 support. Also, altcoins failed...

Liquidity Difficulties in China: Second Bank Bail-Out Now Reality


Although it has its peculiarities, the Chinese banking sector now faces similar challenges to the west’s financial system. Dozens of small banks have been experiencing liquidity difficulties in the past few months. Observers believe the expanding problem has the potential to trigger...

US, EU and Japan Could Trigger ‘Cold Currency War’ by Debasing Fiat


The world’s major central banks are waging war to determine who can make their respective fiat currency weaker. With the likelihood of even more money printing and negative interest rates ahead, people need to be ready to see the value of their money evaporate and the price of everything else...

How to Use the Web Share API


The Web Share API is one that has seemingly gone under the radar since it was first introduced in Chrome 61 for Android. In essence, it provides a way to trigger the native share dialog of a device (or desktop, if using Safari) when sharing content — say a link or a contact card — directly from...

Getting To Know The MutationObserver API


MutationObserver watches the DOM, specifically the places you tell it to, like: document.querySelector('#watch-this'); ...and it can tell you (trigger a callback) when stuff happens — like when a child is added, removed, changed, or a number of other things. I used it just the other day...

Awesome Automation and Integration with Buddy


One of my favorite services for years has been IFTTT (If this then that). Having a service that allows me to trigger a host of functionalities with one simple action is amazing! Posting a picture to Instagram can trigger IFTTT to send a tweet, post to Facebook, email to friends, etc. I’ve...

Stuff you can do with CSS pointer events


Martijn Cuppens (the same fella with the very weird div!) has some more irresistible CSS trickery. Three of the examples are about making a child element trigger an event on a parent element (almost like the magic that is :focus-within). Here's how I reasoned it out to myself: You know how if...

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