Search

Nalezeno "have": 8393

Getting Fancy with position: sticky;


Mike Solomon worked on a fancy scrollytelling post for Esquire and blogged about it. It has GIFs of each step along the way of figuring out not just position: sticky; but also using negative margins, wrapper divs, backgrounds, and even a smidge of JavaScript measuring to get it all right. What...

There’s No Such Thing as Tainted Bitcoins


All bitcoins are created equal. But in the eyes of blockchain forensics firms, some bitcoins are more equal than others. If these companies are to be believed, coins that have been used in criminal transactions are ‘tainted,’ destined to be forever linked with nefarious activity....

Bitcoin Trust GBTC Shares Spike Despite 30% Premium


Bitcoin and cryptocurrency prices have seen significant gains as the entire cryptoconomy is up more than 40% since mid-December. Grayscale’s Bitcoin Trust (GBTC) has also seen an uptick and shares have climbed 9% this week. The news follows the asset manager’s recent registration as...

Getting Acquainted With Svelte, the New Framework on the Block


For the last six years, Vue, Angular, and React have run the world of front-end component frameworks. Google and Facebook have their own sponsored frameworks, but they might leave a bitter taste for anyone who advocates for an open and unbiased web. Vue is another popular framework that...

Crypto’s Dotcom Era Begins as Handshake Launches Decentralized Domains


Handshake, one of the more original crypto projects to have spawned during the ICO era, has completed its long-awaited launch. The decentralized domains registrar, founded by MIT engineers, has spent the last year in stealth mode but is now opening up to the general public. The Handshake protocol...

Select an Element with a Non-Empty Attribute


Short answer: [data-foo]:not([data-foo=""] { Longer answer (same conclusion, just an explanation on why we might need this): Say you have an element that you style with a special data-attribute: <div data-highlight="product"</div You want to target that element and do special things when...

Wendy McElroy: The Narrative and Philosophy of Cryptocurrency


“The central banks of Britain, Japan, the euro zone, Sweden and Switzerland have grouped up to assess potential use cases for digital currencies. Talk of such currencies gained momentum after Facebook announced plans last year to introduce a cryptocurrency called libra,” – CNBC....

PHP is A-OK for Templating


PHP templating often gets a bad rap for facilitating subpar code — but that doesn't have to be the case. Let’s look at how PHP projects can enforce a basic Model, View, Controller (MVC) structure without depending on a purpose-built templating engine. But first, a very brief PHP history lesson The...

Possibly The Easiest Way to Run an SSG


"Static Site Generator," that is. We'll get to that in a second. Netlify is a sponsor of this site (thank you very much), and I see Zach Leatherman has gone to work over there now. Very cool. Zach is the creator of Eleventy, an SSG for Node. One thing of the many notable things about Eleventy...

Git Branch Autocompletion


Naming git branches is something most of us have down to a science. My branch naming pattern is usually {issue number}-short-feature-description, though many developers prefer to lead with the description and end with the issue. Regardless of the pattern you use, having a feature like autocomplete...

Freezing User-Agent Strings


There's been news about Chrome freezing their User-Agent string (and all other major browsers are on board). That means they'll still have a User-Agent (UA) string (that comes across in headers and is available in JavaScript as navigator.userAgent. By freezing it, it will be less useful over time...

How to Create an Animated Countdown Timer With HTML, CSS and JavaScript


Have you ever needed a countdown timer on a project? For something like that, it might be natural to reach for a plugin, but it’s actually a lot more straightforward to make one than you might think and only requires the trifecta of HTML, CSS and JavaScript. Let’s make one together! This is what...

Darknet Users Discuss the Connection Between DDoS Attacks and Exit Scams


During the last few weeks, a number of darknet markets (DNMs) like Dread and Empire have been attacked relentlessly with heavy DDoS attacks. Meanwhile, reports disclose that Apollon is allegedly pulling an exit scam in the same fashion as Nightmare Market did last year. Darknetstats.com details...

Sticky Table of Contents with Scrolling Active States


Say you have a two-column layout: a main column with content. Say it has a lot of content, with sections that requires scrolling. And let's toss in a sidebar column that is largely empty, such that you can safely put a position: sticky; table of contents over there for all that content in the main...

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