Search

Nalezeno "doesn": 753

Animate SVG Path Changes in CSS


Every once in a while I'm motivated to attempt to draw some shapes with <path>, the all-powerful drawing syntax of SVG. I only understand a fragment of what it all can do, but I know enough to be dangerous. All the straight-line syntax commands (like L) are pretty straightforward and I find...

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

The Unseen Performance Costs of Modern CSS-in-JS Libraries


This article is full of a bunch of data from Aggelos Arvanitakis. But lemme just focus on his final bit of advice: Investigate whether a zero-runtime CSS-in-JS library can work for your project. Sometimes we tend to prefer writing CSS in JS for the DX (developer experience) it offers, without...

From Star Trek to Wikipedia: Crashing Bitcoin SV Fails to Impress


The Bitcoin SV network and the infamous Craig Wright have been publicly scrutinized by two well known individuals. Wikipedia’s Jimmy Wales criticized BSV technology and said he doesn’t think recorded data from Wikipedia would be beneficial stored on a blockchain like BSV. Moreover...

How to Buy Bitcoin – 5 Quick and Simple Ways to Get Started


If you’re one of the many people looking to get into bitcoin for the first time, it doesn’t have to be hard. There are more than a few easy routes to acquiring cryptocurrency and this article aims to outline five of them. By way of these simple avenues for purchasing bitcoin you can...

Design Systems Blogathon


It was fun watching a bunch of back and forth blogging between a bunch of smart people quoting a bunch of smart people last week. If you missed it, you might wanna start at the end and work backward. I only have one tidbit to add. I don't do much with design systems as someone who works on pretty...

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

CSS4


Tab Atkins in 2012: There has never been a CSS4. There will never be a CSS4. CSS4 is not a thing that exists. Rachel Andrew in 2016: While referring to all new CSS as CSS3 worked for a short time, it doesn’t reflect the reality of where CSS is today. If you read something...

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

Smaller HTML Payloads with Service Workers


Short story: Philip Walton has a clever idea for using service workers to cache the top and bottom of HTML files, reducing a lot of network weight. Longer thoughts: When you're building a really simple website, you can get away with literally writing raw HTML. It doesn't take long to need a...

How Do You Do max-font-size in CSS?


CSS doesn't have max-font-size, so if we need something that does something along those lines, we have to get tricky. Why would you need it at all? Well, font-size itself can be set in dynamic ways. For example, font-size: 10vw;. That's using "viewport units" to size the type, which will...

Resizing Values in Steps in CSS


There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...

The Darknet Still Loves Bitcoin – and Doesn’t Care About Prices


Bitcoin (BTC) usage is rising on darknet markets, where it is often used to buy narcotics and finance other illegal activities – although the darknet still accounts for less than 1% of all BTC transactions. Per data from blockchain analytics provider Chainalysis, over USD 600 million worth...

Searching the Jamstack


Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results to your site: <form action="https://www.google.com/search" method="get"<input type="search" name="q"...

Exchange Tokens 'May Decline' if Bitcoin Doesn’t Start a Bull Run


If the major digital assets, bitcoin (BTC) included, can’t prompt another bull market in 2020, exchange-based tokens may decline due to the possible trading volume shrinkage, says TokenInsight, a token data and rating agency. Their latest annual report on the cryptocurrency spot exchange industry...

Things you can do with a browser in 2020


I edit a good amount of technical articles about the web, and there is a tendency for authors to be super broad in their opening sentence, like "What we're able to do on the web has expanded greatly over the years." I tend to remove stuff like that because it usually doesn't serve the article well...

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