Search

Nalezeno "doesn": 782

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

How to Sell Anything for Bitcoin on Your Website


Selling things for bitcoin online doesn’t have to be hard. In fact, it shouldn’t be, given the decentralized nature and low fees of peer-to-peer electronic cash. For beginners and DIYers new to the world of creating an online bitcoin or crypto marketplace, this article seeks to provide...

Systems, Mistakes, and the Sea


Our own Robin Rendle: [...] folks can’t talk about real design systems problems because it will show their company as being dysfunctional and broken in some way. This looks bad for their company and hence looks bad for them. But hiding those mistakes and shortcomings by glossing over everything...

Making Room for Variation


Say you have a design system and you're having a moment where it doesn't have what you need. You need to diverge and create something new. Yesenia Perez-Cruz categorizes these moments from essentially ooops to niiice: There are three kinds of deviations that come up in...

GoGetSSL


GoGetSSL is a company that sells SSL certificates. You know, those things that are required to make your site use https://, not http:// which doesn't feel like an optional choice these days with browsers making sites looks scarily insecure without it and search engines telling us is a ranking...

Only 375 Days Left for McAfee’s $1M Bitcoin Price Wager


As the end of 2019 approaches, it means there will be one year left for John McAfee’s infamous wager that said the price per bitcoin would “reach $1,000,000 before the end of 2020.” If the forecast doesn’t come to fruition, he said that he would eat his family jewels...

Average Bitcoin Spender Doesn't Need 6 Confirmations - Mathematicians


Double-spending an average Bitcoin (BTC) transaction is not profitable and, though exchanges and merchants often require it, sending some sats may not in fact need six confirmations – according to calculations by two mathematicians. For an average transaction, only one or two confirmations...

The Order of CSS Classes in HTML Doesn’t Matter


That’s right! And I can prove it, too. Let’s look at some CSS first: .a { color: red; } .b { color: blue; } And now let’s look at some markup: <div class="a b">Here’s some text</div> The text is going to be blue because .b is defined last in the CSS, right? But what if we...

Techniques for Rendering Text with WebGL


As is the rule in WebGL, anything that seems like it should be simple is actually quite complicated. Drawing lines, debugging shaders, text rendering… they are all damn hard to do well in WebGL. Isn’t that weird? WebGL doesn't have a built-in function for rendering text. Although text seems like...

Oh, the Places JavaScript Will Go


I tend to be pretty vocal about the problems client-side JavaScript cause from a performance perspective. We're shipping more JavaScript than ever to our user's devices and the result is increasingly brittle and resource-intensive experiences. It's... not great. But that doesn't mean I don't like...

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