Search
Overlapping Header with CSS Grid
1.6.2020
Snook shows off a classic design with an oversized header up top, and a content area that is “pulled up” into that header area. My mind goes to the same place:
Historically, I’ve done this with negative margins. The header has a height that adds a bunch of padding to the bottom...
Flexbox-like “just put elements in a row” with CSS grid
21.5.2020
It occurred to me while we were talking about flexbox and gap that one reason we sometimes reach for flexbox is to chuck some boxes in a row and space them out a little.
My brain still reaches for flexbox in that situation, and with gap, it probably will continue to do so. It’s worth noting...
Turning a Fixed-Size Object into a Responsive Element
11.5.2020
I was in a situation recently where I wanted to show an iPhone on a website. I wanted users to be able to interact with an application demo on this “mock” phone, so it had to be rendered in CSS, not an image. I found a great library called marvelapp/devices.css. The library implemented the device...
US Central Bank Blamed for 2020 Financial Crash: ‘The Fed Is Lawless Economic Government Unto Itself’
6.5.2020
The last two months dealing with the coronavirus outbreak have been strange, to say the least, and as data rolls in more people are becoming aware that there was quite a bit of overreaction from politicians, the media, and medical professionals. A small number of people are starting to focus on...
Lebanese Currency Collapse: Failed Policies Led to Economic Meltdown
4.5.2020
Lebanon is facing an unprecedented economic crisis and the local currency has already lost about 60% of its value. The central bank’s policies have come under fire while citizens are protesting how the government handles the economic meltdown which led to people’s living situation...
Novogratz: We Have Money-Printing Orgy Going on, Amazing Environment to Buy Bitcoin
8.4.2020
Galaxy Digital chairman Michael Novogratz said that bitcoin is his pick under the current financial situation, describing it as an “amazing environment” to buy bitcoin. With “global money printing orgy,” a possible another trillion-dollar stimulus package, and “money...
Coronavirus Fuels P2P Connectivity: Crypto-Driven Meshnet Gives Rural Towns Internet
2.4.2020
While the coronavirus wreaks havoc on the economy across the U.S., a number of the 1,737 residents from Clatskanie, Oregon can’t obtain an internet service provider (ISP). The situation has motivated the town to adopt a decentralized meshnet ISP called Althea and the network’s users...
12 Platforms Allowing You to Trade Gift Cards With Cryptocurrencies
19.3.2020
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...
Stop Using “Dropdown”
16.3.2020
Adrian Roselli notes that it might actually mean:
A <select> menu
An ARIA Listbox, Combobox, Menu, or Disclosure Widget
An input with a <datalist>
An input with autocomplete
A <details><summary> block
An accordion
Flyout navigation
In my own usage, I tend to mean...
Negative Margins
9.3.2020
PPK digs into the subject, which he found woefully undercovered in web tech documentation. Our entry doesn't mention them at all, which I'll aim to fix.
Agree on this situation:
This is by far the most common use case for negative margins. You give a container a padding so that its contents have...
Animating CSS Width and Height Without the Squish Effect
6.3.2020
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...
No Bitcoin ETF Yet: A Deep Dive Into the Situation in the US
22.2.2020
While waiting for decisions on their own U.S. crypto ETF proposals, Wilshire Phoenix, Kryptoin and Crescent Crypto provide their thoughts on the SEC’s ETF situation
BCH Funding Debate: Btc.top Founder Suggests 2/3 Hash Vote and 6-Month Evaluation
17.2.2020
Over the last few days, Bitcoin Cash proponents have been debating the Infrastructure Funding Plan (IFP) after Bitcoin ABC published an announcement on implementing the plan into the upcoming software release. Again the concept was met with mixed responses and the community has been arguing about...
Bitcoin and Doomsday Preppers — Would Crypto Have Any Survival Value If SHTF?
14.2.2020
As so-called “doomsday prepping” grows in popularity thanks to news of coronavirus lockdown in Chinese cities, red flag gun laws and rampant Fed stimulus in the U.S., preparedness enthusiasts are asking about the viability of bitcoin in a SHTF situation. From cautious, light investor...
PHP Templating in Just PHP
26.12.2019
With stuff like template literals in JavaScript and templating languages, like JSX, I've gotten used to wanting to write my HTML templates in one nice chunk and sprinkling in variables wherever I need them.
I had a situation where I needed to do that in "raw" PHP the other day, so I'm just...
Indian Crypto Community Gathers to Dispel Confusion About Regulation
18.12.2019
As the Indian government deliberates on the country’s crypto policy, there has been some confusion in media reports regarding crypto regulation in India. A group of local crypto enthusiasts and community members have gathered in an effort to ensure that the crypto situation in India...
Some CSS Grid Strategies for Matching Design Mockups
14.11.2019
The world of web development has always had a gap between the design-to-development handoff. Ambitious designers want the final result of their effort to look unique and beautiful (and true to their initial vision), whereas many developers find more value in an outcome that is consistent...
Lebanese Protestors Gather at Central Bank as Financial Lockout Continues
25.10.2019
Since the beginning of widespread protests in Lebanon last week, banks and lending institutions have remained closed, fueling fears of an impending nationwide cash crisis. Attempts to assuage the concerns of suffering individuals without money or options are not proving effective, as officials...
Economic Turmoil in Hong Kong Escalates as Colonial-Era Law Is Imposed
8.10.2019
Colonial-era law has been imposed in Hong Kong causing the economic situation to degrade further, with empty ATMs and bank runs becoming a new norm. Protestors and non-protestors alike fear the martial law-like ERO (Emergency Regulations Ordinance) could eventually grind the city’s financial...
India Facing ‘Unprecedented’ Economic Slowdown, Extraordinary Steps Urged
26.8.2019
Many signs indicate that the Indian economy is under grave stress, affecting nearly all sectors. “India’s economy is in a deep mess,” due to initiatives such as demonetization and GST, some lawmakers say, as they urge the government to handle the situation “which...