Search
Debugging iOS Safari
2.6.2021
How do I debug Safari on iOS?
These are my general steps, starting with not even using iOS Safari.
1. Is this just a small-screen problem?
Lemme just use the device mode in Chrome quick.
Note that this does a …
The post Debugging iOS Safari appeared first on CSS-Tricks.
You can support...
A Crash Course in WordPress Block Filters
2.6.2021
Blocks in WordPress are great. Drop some into the page, arrange them how you like, and you’ve got a pretty sweet landing page with little effort. But what if the default blocks in WordPress need a little tweaking? Like, what …
The post A Crash Course in WordPress Block Filters appeared first...
Are Custom Properties a “Menu of What Will Change”?
2.6.2021
PPK laid out an interesting situation in “Two options for using custom properties” where he and Stefan Judis had two different approaches for doing the same thing with custom properties. In one approach, hover and focus styles for a …
The post Are Custom Properties a “Menu...
Code blocks, but better
2.6.2021
Pedro Duarte made a wishlist for styled code blocks in blog posts and documentation, then hand-rolls a perfect solution for that wishlist. For example, a feature to be able to highlight certain lines or words within the code block. The …
The post Code blocks, but better appeared first...
Front-End Testing is For Everyone
1.6.2021
Testing is one of those things that you either get super excited about or kinda close your eyes and walk away. Whichever camp you fall into, I’m here to tell you that front-end testing is for everyone. In fact, …
The post Front-End Testing is For Everyone appeared first on CSS-Tricks.
You...
Jetpack Boost Handles Critical CSS For You
1.6.2021
Critical CSS is one of those things I see in my performance reports but always seem to ignore. I know what it means. It means to put only the CSS required to render things immediately visible in a <style>…
The post Jetpack Boost Handles Critical CSS For You appeared first...
Visualizing Bitcoin’s Future Price Cycles With the Power-Law Corridor Model
31.5.2021
There’s a number of tools, charts, and models traders use to help them forecast bitcoin price cycles and our last article discussed leveraging the Golden Ratio Multiplier. The following editorial discusses another method of bitcoin price prediction analysis by utilizing Logarithmic Growth...
Serverless Functions: The Secret to Ultra-Productive Front-End Teams
31.5.2021
Modern apps place high demands on front-end developers. Web apps require complex functionality, and the lion’s share of that work is falling to front-end devs:
building modern, accessible user interfaces
creating interactive elements and complex animations
managing complex application...
Local: Always Getting Better
31.5.2021
I’ve been using Local for ages. Four years ago, I wrote about how I got all my WordPress sites running locally on it. I just wanted to give it another high five because it’s still here and still great. In …
The post Local: Always Getting Better appeared first on CSS-Tricks.
You...
Dynamic Favicons for WordPress
28.5.2021
Typically, a single favicon is used across a whole domain. But there are times you wanna step it up with different favicons depending on context. A website might change the favicon to match the content being viewed. Or a site …
The post Dynamic Favicons for WordPress appeared first...
To $ or Not to $: Displaying Terminal Code Snippets
27.5.2021
It’s very popular to put a $ on lines that are intended to be a command in code documentation that involves the terminal (i.e. the command line).
Like this:
$ brew install somepackage
The point of that is that it …
The post To $ or Not to $: Displaying Terminal Code Snippets appeared...
How to Show Images on Click
27.5.2021
Most images on the web are superfluous. If I might be a jerk for a bit, 99% of them aren’t event that helpful at all (although there are rare exceptions). That’s because images don’t often complement the text they’re …
The post How to Show Images on Click appeared first...
Awesome Standalone (Web Components)
26.5.2021
In his last An Event Apart talk, Dave made a point that it’s really only just about right now that Web Components are becoming a practical choice for production web development. For example, it has only been about a year …
The post Awesome Standalone (Web Components) appeared first...
Links on Web Components
26.5.2021
How we use Web Components at GitHub — Kristján Oddsson talks about how GitHub is using web components. I remember they were very early adopters, and it says here they released a <relative-time> component in 2014! Now they’ve got a
…
The post Links on Web Components appeared...
A Thorough Analysis of CSS-in-JS
26.5.2021
Wondering what’s even more challenging than choosing a JavaScript framework? You guessed it: choosing a CSS-in-JS solution. Why? Because there are more than 50 libraries out there, each of them offering a unique set of features.
We tested 10 different …
The post A Thorough Analysis...
What I Learned Building a Word Game App With Nuxt on Google Play
25.5.2021
I fell in love with coding the moment I created my first CSS :hover effect. Years later, that initial bite into interactivity on the web led me to a new goal: making a game.
Table of contents
What’s the game
…
The post What I Learned Building a Word Game App With Nuxt on Google Play...
‘Chinese Invented Paper Money and They Will End It’- Brazil’s Far-Left Praises Digital Yuan
25.5.2021
Digital currencies, those issued by central banks in particular, have been commended for their “disruptive nature.” The praise comes from a publication associated with one of Brazil’s far-left parties. A recently published article claims that CBDCs such as China’s digital...
Links on Performance
25.5.2021
Making GitHub’s new homepage fast and performant — Tobias Ahlin describes how the scrolling effects are done more performantly thanks to IntersectionObserver and the fact that it avoids the use of methods that trigger reflows, like getBoundingClientRect. Also,
…
The post Links...
Wrangling Control Over PDFs with the Adobe PDF Embed API
24.5.2021
By our last estimate, there are now more PDFs in the world than atoms in the universe (not verified by outside sources) so chances are, from time to time, you’re going to run into a PDF document or two. Browsers …
The post Wrangling Control Over PDFs with the Adobe PDF Embed...
‘Reiterated FUD’ – Chinese Government to Continue Monitoring Bitcoin Mining Sector
21.5.2021
A recent report from the Chinese government’s financial committee has reiterated the country’s stance on bitcoin mining and that it would continue to monitor the sector closely. The report follows a recent article from Reuters published three days ago, which also reiterates...