Search

Nalezeno "moře": 11174

Mike Bloomberg’s 2020 Finance Policy Proposes Strict Bitcoin Regulations


The 2020 U.S. Presidential candidate Michael Bloomberg addressed the subject of cryptocurrencies and initial coin offerings (ICO) in his recently published Financial Reform Policy. Bloomberg wants more “regulatory oversight” when it comes to this promising technology, claiming he sees...

Centering a div That Maintains Aspect-Ratio When There’s Body Margin


Andrew Welch had a little CSS challenge the other day to make an ordinary div: • centered vertically + horizontally• scales to fit the viewport w/ a margin around it• maintains an arbitrary aspect ratio• No JS There's a video in that tweet if it helps you visualize the challenge. I saw Paul...

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

Expect More Volatility in Bitcoin, Retail is Most Bullish - Analysts


We may have just seen the tip of the iceberg in terms of volatility to come this quarter, two new reports suggest, while leaving the door open for the possibility that lower volatility could be a new normal for the bitcoin (BTC) market. According to the January 2020 Volatility Report from...

Web Component for a Code Block


We'll get to that, but first, a long-winded introduction. I'm still not in a confident place knowing a good time to use native web components. The templating isn't particularly robust, so that doesn't draw me in. There is no state management, and I like having standard ways of handling that. If...

Europeans Launch Bitcoin Friendly POS Terminal + More News


Crypto Briefs is your daily, bite-sized digest of cryptocurrency and blockchain-related news – investigating the stories flying under the radar of today’s crypto news. Adoption news Payment solutions provider Ingenico has teamed up with Austrian fintech firm Salamantex to release a new POS terminal...

Moving from Vanilla JavaScript to a Reusable Vue Component


I recently wrote an article explaining how you can create a countdown timer using HTML, CSS and JavaScript. Now, let’s look at how we can make that a reusable component by porting it into Vue using basic features that the framework provides. Why do this...

Blame the implementation, not the technique


I'm not sure we've gotten much better at this since Tim Kadlec wrote this in 2012: Stop me if you’ve heard this one before. “Responsive design is bad for performance.”“User agent detection is bad. Don’t segment the web.”“Hybrid apps don’t work as well as native apps.”“CSS preprocessors shouldn’t...

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

“CSS4” Update


Since I first chimed in on the CSS4¹ thing, there's been tons of more discussion on it. I'm going to round up my favorite thoughts from others here. There is an overwhelming amount of talk about this, so I'm going to distill it here down as far as I can, hopefully making it easier to follow. Jen...

Watch Out, Bitcoin, Altcoins Are Turning More and More to Payments


Altcoins are coming for bitcoin (BTC). Many of them – ethereum (ETH), cardano (ADA), EOS, XRP – were initially conceived more as utility tokens for blockchain platforms than as mediums of payment. But increasingly, many of them are turning to payments, while an expanding range of third-parties...

Creating a Details Element That Opens But Never Closes


The <details> and <summary> elements in HTML are useful for making content toggles for bits of text. By default, you see the <summary> element with a toggle triangle (▶︎) next to it. Click that to expand the rest of the text inside the <details> element. But...

Bitcoin Futures' Open Interest on Bakkt Up 50% in February + More News


Crypto Briefs is your daily, bite-sized digest of cryptocurrency and blockchain-related news – investigating the stories flying under the radar of today’s crypto news. Exchanges news Bitcoin Futures' Open Interest (OI), the number of open futures contracts and an indicator of amount of capital...

While You Weren’t Looking, CSS Gradients Got Better


One thing that caught my eye on the list of features for Lea Verou's conic-gradient() polyfill was the last item: Supports double position syntax (two positions for the same color stop, as a shortcut for two consecutive color stops with the same color) Surprisingly, I recently discovered most...

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