Search

Nalezeno "see": 1584

Can JavaScript Detect the Browser’s Zoom Level?


No, not really. My first guess was that this was intentionally not exposed in browsers because browsers intentionally don’t want us fighting it — or making well-intentioned but bad-outcome decisions based on that info. But I don’t see any evidence of that. StackOverflow answers paint...

CCID Crypto Rankings See Bitcoin Drop Three Positions, EOS Assumes Top Spot


EOS, Ethereum, and TRON remained at the top of the latest crypto rankings by China’s Center for Information and Industry Development (CCID). The index, in its 17th edition, ranked the most popular public blockchains per three categories — creativity, applicability, and basic technology, while...

How the Vue Composition API Replaces Vue Mixins


Looking to share code between your Vue components? If you’re familiar with Vue 2, you’ve probably used a mixin for this purpose. But the new Composition API, which is available now as a plugin for Vue 2 and an upcoming feature of Vue 3, provides a much better solution. In this article...

Styling in the Shadow DOM With CSS Shadow Parts 


Safari 13.1 just shipped support for CSS Shadow Parts. That means the ::part() selector is now supported in Chrome, Edge, Opera, Safari, and Firefox. We’ll see why it’s useful, but first a recap on shadow DOM encapsulation… The benefits of shadow DOM encapsulation I work at giffgaff where we have...

Tips for Writing Animation Code Efficiently


I’ve been coding web animations and helping others do the same for years now. However, I have yet to see a concise list of tips focused on how to efficiently build animations, so here you go! I will be using the GreenSock Animation Platform (GSAP). It provides a simple, readable API and solves...

How to Re-Create a Nifty Netflix Animation in CSS


The design for Netflix’s browse page has remained pretty similar for a few years now. One mainstay component is the preview slider that allows users to scroll through content and hover on items to see a preview. One unique characteristic of the UI is its hover behavior. When a show preview...

The World Might See CBDCs Sooner Than Expected


The “central bank of central banks” and multiple analysts think that the fear of the coronavirus transmission via cash and banking cards may shorten the road to central bank digital currencies (CBDCs). People are afraid of using cash, says the Bank for International Settlements (BIS) in their...

CSS-Only Marquee Effect


You make sure the text is more than twice the width of the screen, then use negative translate animations to do the marquee movement. You’ll probably want to aria-hidden all but one of them if you need to duplicate the text. Or, you could use a very clever CSS trick...

Why Do Some HTML Elements Become Deprecated?


The internet has been around for a long while, and over time we’ve changed the way we think about web design. Many old techniques and ways of doing things have gotten phased out as newer and better alternatives have been created, and we say that they have been deprecated. Deprecated. It’s a word...

Miners Pressing Bitcoin Price, but Analyst See a Bright Future


Miners are pressing bitcoin (BTC) price now, they'll likely press it more in the near future, but the future after that has a bull in it, analysts find. Miner-led selling pressure for bitcoin is high and will probably increase even more in the months ahead as it goes through its halving expected...

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