Search
CSS Underlines Are Too Thin and Too Low in Chrome
4.1.2022
I’ve encountered two bugs in Chrome while testing the new CSS text-decoration-thickness and text-underline-offset properties, and I want to share them with you here in this article.
But first, let’s acknowledge one thing:
Default underlines are inconsistent
Let’s add a …
CSS Underlines...
Kickstarting the Bitcoin Network: A Look at the Genesis Block and Source Code That Sparked a Financial Revolution
3.1.2022
13 years ago today, the anonymous creator of the Bitcoin protocol kickstarted the network by mining the genesis block. Satoshi started the genesis block on Saturday, January 3, 2009, at precisely 1:15 p.m. (EST), and since then more than 700,000 blocks have been mined into existence. Kickstarting...
The surprising behavior of !important in CSS custom property values
17.12.2021
Huh! I did not realize that CSS custom properties had their own resolution behavior for how !important works in their values. Uh, despite writing a guide about them. 😬 But hey it’s now updated.
Stefan Judis documents it clearly. …
Topological sort
16.12.2021
Jordan Scales explores the computer science concept of topological sorting, and what it might look like if applied to the concept of z-index in CSS. So, you don’t express what the z-index should be directly; instead, you say exactly …
HTML Sanitizer API
16.12.2021
Three cheers for (draft stage) progress on a Sanitizer API! It’s gospel that you can’t trust user input. And indeed, any app I’ve ever worked on has dealt with bad actors trying to slip in and execute nefarious code …
Indie Studio Forms First Video Game Union In The Country
15.12.2021
Developers at Vodeo Games, the indie studio behind this year’s excellent turn-based pinball RPG Beast Breaker, revealed over at Polygon today that they’ve unionized. Management at the studio is voluntarily recognizing the newly formed group, called Vodeo Workers Unite, making it the first of...
Shadow Palette Generator
13.12.2021
Josh’s Shadow Palette Generator is a fantastic tool. The premise is that box-shadow pretty much always looks better when there are multiple layered shadows that are a bit tinted. It reminds me of how gradients almost always look better when …
Using Position Sticky With CSS Grid
10.12.2021
Say you’ve got a two-column CSS grid and you want one of those columns to behave like position: sticky;. There is nothing stopping you from doing that. But the default height for those two columns is going to be …
Prosecutor General’s Office Wants to See ‘Cryptocurrency’ in Russian Law
10.12.2021
The Prosecutor General’s Office of the Russian Federation has insisted that the term “cryptocurrency” should be added to the country’s legislation. The move would allow authorities in Moscow to confiscate digital assets that have been involved in criminal activities....
Eye Droppin’
9.12.2021
Quick hits! There is a new web API called EyeDropper:
if ('EyeDropper' in window) {
const eyeDropper = new EyeDropper();
try {
// This has gotta be triggered by a user interaction,
// so consider this pseudo-code.
const result …
Some notes on using esbuild
9.12.2021
This is a fantastic article from Julia Evans about duking it out with modern front-end tooling. Julia has made a bunch of Vue projects and typically uses no build process at all:
 I usually have an index.html file, a script.js…
Sandbox Game Removed From Steam After Allegations Of Code Theft
9.12.2021
Myth of Empires, a game that has only just been released, has now been delisted from Steam after the team behind Ark: Survival Evolved accused its creators of stealing source code.Read more
The Invisible JavaScript Backdoor
8.12.2021
An interesting (scary) trick of an nearly undetectable exploit. Wolfgang Ettlinger:
What if a backdoor literally cannot be seen and thus evades detection even from thorough code reviews?
I’ll post the screenshot of the exploit from the post with the …
Coloring With Code — A Programmatic Approach To Design
7.12.2021
Learn to create beautiful, inspiring, and unique color palettes/combinations, all from the comfort of your favorite text editor!
The post Coloring With Code — A Programmatic Approach To Design appeared first on Codrops
Embrace your code’s transience
2.12.2021
Websites change. Healthy codebases are constantly being updated. Legacy code dies when it eventually goes down with the ship. Recognizing that my code is transient allows me to be more practical about my code and what guides my decision-making as …
Dock Life: Using Docker for All The Things!
1.12.2021
I think if you’re a DevOps person in any capacity, the utility of Docker is very clear. Your things run in containers that are identical everywhere. Assuming Docker is working/running, the code will execute in a reliably consistent way whether …
Twitch Streamer Beats Every Classic Resident Evil Game Without Taking A Single Hit
1.12.2021
Resident Evil games have never been known for their kindness, which makes beating four of the series classic games in a row (in all their myriad configurations and routes) without taking a single hit all the more impressive—and that’s exactly what streamer MattDaRoc did.Read more
Advent of Code je adventní kalendář pro programátory, ve kterém každý den řešíte dva úkoly
1.12.2021
Den, ve kterém nenapíšete ani jednu řádku kódu v C/C++, Pythonu nebo alespoň Javascriptu, je zcela promarněný! Naštěstí se nám blíží Vánoce, které můžete opět odpočítávat v adventním kalendáři pro domácí i profesionální kodéry Advent of Code.
Namísto čokolády dostanete každý den dva úkoly,
Ocarina Of Time's Source Code Has Been Reverse Engineered
29.11.2021
In 2019, the source code for Super Mario 64 was reverse engineered, leading to all kinds of wonderful mods and even ports to systems like the Dreamcast and PlayStation 2. Now it’s Ocarina of Time’s turn.Read more
When is it “Right” to Reach for contain and will-change in CSS?
26.11.2021
I’ve got some blind spots in CSS-related performance things. One example is the will-change property. It’s a good name. You’re telling the browser some particular property (or the scroll-position or content) uh, will, change:
.el {
will-change: opacity;
…
The post When...