Search

Nalezeno "any": 917

An Annotated Docker Config for Front-End Web Development


Andrew Welch sings the praises of using Docker containers for local dev environments: Here are the advan­tages of Dock­er for me: • Each appli­ca­tion has exact­ly the envi­ron­ment it needs to run, includ­ing spe­cif­ic ver­sions of any of the plumb­ing need­ed to get it to work (PHP, MySQL...

Max Stoiber’s Strong Opinion About Margins


Going with that title instead of the classic developer clickbait version Max used. ;) We should ban margin from our components. Don’t use margin?! This thing I’ve been doing my entire career and don’t have any particular problems with?! Well, that’s not exactly Max’s...

Auto-Growing Inputs & Textareas


By default, <input> and <textarea> elements don't change size based on the content they contain. In fact, there isn't any simple HTML or CSS way to make them do that. Kinda funny, as that seems like a reasonable use-case. But of course, there are ways, my friend. There are always...

Emojis as Favicons


Lea Verou had a dang genius idea to use an emoji as a favicon. The idea only recently possible as browsers have started supporting SVG for favicons. Chuck an emoji inside an SVG <text element and use that as the favicon. Now that all modern browsers support SVG favicons, here's how...

Auto-Archival


I'm sure most of us have used the ol' Wayback Machine to access some site that's gone offline. I don't actually know how it decides what sites to archive and when, but you can tell it to save pages. There is UI for it right on its homepage. Also, there is a little trick... Typing...

12 Platforms Allowing You to Trade Gift Cards With Cryptocurrencies


In an emergency situation like the current coronavirus pandemic, anything can turn into currency as the fiat system may experience cash shortages and devaluation. Cryptocurrency users have options to trade bitcoin beyond traditional money. A number of platforms will let you exchange...

Flexbox and absolute positioning


Chen Hui Jing notes that when you absolutely position a flex item, it's no longer part of the flex layout. Except... it kinda is a little bit. If you make the child position: absolute; but don't apply any top/right/bottom/left properties, then flexbox alignment will still apply to it. It's odd...

How to Simulate Long HTTP Requests


It happens less frequently these days but there are times when we need to accommodate for a HTTP request timing out. The service could be down, under heavy traffic, or just poorly coded, or any host of other issues. Whenever I need to simulate a long HTTP request, I use a bit of PHP...

Build a Node.js Tool to Record and Compare Google Lighthouse Reports


In this tutorial, I’ll show you step by step how to create a simple tool in Node.js to run Google Lighthouse audits via the command line, save the reports they generate in JSON format and then compare them so web performance can be monitored as the website grows and develops. I’m hopeful this...

How to Make a Line Chart With CSS


Line,  bar, and pie charts are the bread and butter of dashboards and are the basic components of any data visualization toolkit. Sure, you can use SVG or a JavaScript chart library like Chart.js or a complex tool like D3 to create those charts, but what if you don't want to load yet another...

The 3 Laws of Serverless


Burke Holland thinks that to "build applications without thinking about servers" is a pretty good way to describe serverless, but... Nobody really thinks about servers when they are writing their code. I mean, I doubt any developer has ever thrown up their hands and said “Whoa, whoa, whoa. Wait...

Animating CSS Width and Height Without the Squish Effect


The first rule of animating on the web: don't animate width and height. It forces the browser to recalculate a bunch of stuff and it's slow (or "expensive" as they say). If you can get away with it, animating any transform property is faster (and "cheaper"). Butttt, transform can be tricky. Check...

How We Created a Static Site That Generates Tartan Patterns in SVG


Tartan is a patterned cloth that’s typically associated with Scotland, particularly their fashionable kilts. On tartanify.com, we gathered over 5,000 tartan patterns (as SVG and PNG files), taking care to filter out any that have explicit usage restrictions. The idea was cooked up by Sylvain...

Binance Coin Manages to Stay Above $19; Yet to Give Any Bullish Sign


Binance Coin seems a bit more positive as compared to other altcoins right now as it has been maintaining an uptrend since at least the last 5 days. Recently, it has formed a bullish candle above the 61.80% fib level. However, the coin keeps ranging between $19 to $20 since yesterday. Binance Coin...

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