Search

Nalezeno "pattern": 409

Bearish or Bullish? Bitcoin Traders Argue Over Death Cross Outcome


On Saturday, cryptocurrency analysts and traders have been discussing bitcoin’s recent chart patterns and the infamous death cross pattern has been a topical conversation. A number of traders believe when bitcoin’s short-term moving average (MA) dips below the long-term MA, the crypto...

Creating Patterns With SVG Filters


For years, my pain has been not being able to create a somewhat natural-looking pattern in CSS. I mean, sometimes all I need is a wood texture. The only production-friendly solution I knew of was to use an external image, … The post Creating Patterns With SVG Filters appeared first...

Lazy Load Routes in Vue with webpack Dynamic Comments


The way routing works in JavaScript is usually that you specify which relative URL pattern you want for which component to render. So for /about you want the <About /> component to render. Let’s take a look at how to … The post Lazy Load Routes in Vue with webpack Dynamic Comments...

Bulletproof flag components


A clever use of CSS grid from Jay Freestone to accomplish a particular variation of the media object design pattern (where the image is centered with the title) without any magic numbers anything that isn’t flexible and resiliant. The trick … The post Bulletproof flag components...

Dynamic, Conditional Imports


With ES Modules, you can natively import other JavaScript. Like confetti, duh: import confetti from 'https://cdn.skypack.dev/canvas-confetti'; confetti(); That import statement is just gonna run. There is a pattern to do it conditionally though. It’s like this: (async () … The post...

Collective #642


Hotwire * AnimXYZ * Let's Build a Confetti Cannon * Pattern Generator * Conditional JavaScript The post Collective #642 appeared first on Codrops

Let’s Create a Lightweight Native Event Bus in JavaScript


An event bus is a design pattern (and while we’ll be talking about JavaScript here, it’s a design pattern in any language) that can be used to simplify communications between different components. It can also be thought of as publish/subscribe or pubsub. The idea is that components can listen...

Collective #635


Pattern Collect * Back/forward cache * ThreeJS starter * SvgPathEditor * upptime The post Collective #635 appeared first on Codrops

How to Work With WordPress Block Patterns


Just a little post I wrote up over at The Events Calendar blog. The idea is that a set of blocks can be grouped together in WordPress, then registered in a register_block_pattern() function that makes the group available to use as a “block pattern” in any page or post. Block patterns...

Bidirectional scrolling: what’s not to like?


Some baby bear thinking from Adam Silver. Too hot: [On horizontal scrolling, like Netflix] This pattern is accessible, responsive and consistent across screen sizes. And it’s pretty easy to implement. Too cold: That’s a lot of pros for a pattern that in reality has some critical...

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