Search
A Follow-Up to PHP Templating
28.2.2020
Not long ago, I posted about PHP templating in just PHP (which is basically HEREDOC syntax). I'm literally using that technique for some super basic templating I needed to do on this very WordPress site. The main pushback was that this kind of thing can be an XSS vulnerability. In my case, it's...
How to Customize the WooCommerce Cart Page on a WordPress Site
28.2.2020
A standard e-commerce site has a few common pages. There are product pages, shop pages that list products, and let’s not forget pages for the user account, checkout flow and cart.
WooCommerce makes it a trivial task to set these up on a WordPress site because it provides templates for them...
Why is CSS Frustrating?
28.2.2020
Here’s a great thread by Kevin Powell that's making the rounds. He believes so many folks see CSS as a frustrating and annoying language:
That's just as unintuitive as JS starting to count at 0, but since you learned that and accept it, it's fine.
The real issue isn't with CSS. If...
Responsive Grid Magazine Layout in Just 20 Lines of CSS
25.2.2020
I was recently working on a modern take of the blogroll. The idea was to offer readers a selection of latest posts from those blogs in a magazine-style layout, instead of just popping a list of our favorite blogs in the sidebar.
The easy part was grabbing a list of posts with excerpts from...
wpaudit.site
24.2.2020
A big checklist of things you could/should be doing to make your website the best it can be. 80% of which is a good idea for any website, not just a WordPress website.
I'm linking to it because I like how plain language it is, and because it's a good example of how giving something away helps more...
wpaudit.site
24.2.2020
A big checklist of things you could/should be doing to make your website the best it can be. 80% of which is a good idea for any website, not just a WordPress website.
I'm linking to it because I like how plain language it is, and because it's a good example of how giving something away helps more...
Insolvent Exchange FCoin Had Bitcoin Outflow Problems Just Two Months After Launch: Report
21.2.2020
The exchange, which revealed its insolvency this week, may have already had issues as early as July 2018
Footnote Characters
20.2.2020
They are special superset numbers that are sometimes perfect for footnotes. Here they are:
¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹
I generally prefer to superscript the number myself, like:
<pThis next word<sup1</suphas a footnote.</p
You'd probably add an anchor link around that as well to link to an...
monica.css
20.2.2020
Monica Dinculescu:
I don’t want every possible padding and margin and colour and flexbox configuration in the world. I just want the ones that I know I end up using in every project. So here is monica.css: my very own CSS framework, which I copy paste at the beginning of every CSS file and take...
Same HTML, Different CSS
19.2.2020
Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and tags. Then he redesigns the card into five totally different designs without touching any of the HTML just the CSS.
If this is an ah-ha moment...
Web Component for a Code Block
18.2.2020
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...
Cannabis Buzz Harshed by Regulations, Cash Shortage While Cryptocurrency Is Ready to Light Up
18.2.2020
Recent reports show that major marijuana companies are running out of money, and businesses in Canada are especially in danger of becoming illiquid. Major producers in the weed-friendly nation have just over 6 months of cash on hand, according to the information, and comparable companies in...
Look Out, Cryptoverse, Blockchain Education Is Just Getting Started
14.2.2020
Increasing demand from students and employers has seen American universities embrace blockchain - but which one will be the first to offer a full time course?
The Unseen Performance Costs of Modern CSS-in-JS Libraries
13.2.2020
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...
Neumorphism.io
12.2.2020
I was sort of making fun of neumorphism the other day. I don't actually care that much. I mostly just think it only works on some flat colored backgrounds, mostly really light colors, and somehow that feels weirdly limiting. (nope, sure, sure, nope 🤷‍♂️).
Anyway,...
PlusToken Scam Moves $123M in Bitcoin Just as BTC Price Regains $10K
11.2.2020
Likely buy-the-dip moment for Bitcoin price under $10,000 as the trend remains resoundingly bullish
SFTP & Database Access on WordPress.com
11.2.2020
(This is a sponsored post.)
Wait what?
That's right, direct access to the files and data storage that power your site on WordPress.com, just like you have if you self-host a WordPress site. You can read their announcement here. Note this is for Business and eCommerce plans only.
All you have to...
Plasma Became Optimism and It Might Just Save Ethereum
11.2.2020
The Plasma Group reformed as Optimism and is working to make ethereum's calling card, smart contracts, work above the base layer
The Case of the Stolen Domain Names
10.2.2020
Back in 2011, the domain name for this site, css-tricks.com, was stolen. "Domain Hijacking," they call it. It wasn't just this site, but around 12 others in the design and development space. To this day, none of us really know how it happened and who was behind it, although I believe all...
Bitcoin’s $10k Value Pushed Down by CME Futures Price Gap
10.2.2020
Just recently BTC prices surpassed the $10,000 zone and held above that region for around 24 hours. Some speculators believe the price of BTC dipped below the $10k range on Monday, after the price aligned with the price gap on CME Group’s global market exchange. During the course of 2019...