Search
Ancient ‘90s Code From Quake Still Controls Lights In Half-Life: Alyx
16.6.2021
Reddit user CrazyGiaky noticed something interesting about the flickering lights in Half-Life Alyx. When compared next to flickering lights in the original Half-Life game, the two seemed to sync up. It seemed like Valve was still using the same bit of code to control these lights 22 years later....
Media Queries in Times of @container
15.6.2021
Max Böck took me up on my challenge to look through a codebase and see how many of the @media queries could ultimately become @container queries.
I took the bait and had a look at some of my projects –
…
The post Media Queries in Times of @container appeared first on CSS-Tricks.
You...
Sotheby's will auction World Wide Web source code as NFT
15.6.2021
Describing NFTs as the "most appropriate means of ownership that exists," a 65-year-old computer scientist will release a tokenized version of the world wide web code next week
Making Tables With Sticky Header and Footers Got a Bit Easier
15.6.2021
It wasn’t long ago when I looked at sticky headers and footers in HTML <table>s in the blog post A table with both a sticky header and a sticky first column. In it, I never used position: sticky on …
The post Making Tables With Sticky Header and Footers Got a Bit Easier...
IBM opens Hyperledger Fabric source code to drive enterprise blockchain adoption
11.6.2021
IBM shows its commitment to Hyperledger and enterprise blockchain development with its largest-ever contribution of open-source code
Adding Shadows to SVG Icons With CSS and SVG Filters
11.6.2021
Why would we need to apply shadows to SVG?
Shadows are a common design feature that can help elements, like icons, stand out. They could be persistent, or applied in different states (e.g. :hover, :focus, or :active)
…
The post Adding Shadows to SVG Icons With CSS and SVG Filters appeared...
Put a Background on Open Details Elements
11.6.2021
One thing that can be just a smidge funky about the <details> element is that, when open, it’s not always 100% clear what is inside that element and what isn’t. I’m not saying that always matters or that it’s a …
The post Put a Background on Open Details...
Report: Hackers Steal FIFA 21 And Frostbite Source Code From EA
10.6.2021
Vice Gaming reports that hackers have broken into EA servers and made off with hundreds of gigabytes worth of proprietary data, including the source code for FIFA 21 and the Frostbite game engine. Electronic Arts has confirmed the breach while assuring no player data is at risk. Read more
JavaScript Numeric Separators
10.6.2021
Writing good code is important — writing code that’s easily human readable is a next level skill. It’s not often that APIs are introduced whose seemingly only useful function is making code more readable, but let me introduce you to JavaScript numeric separators: an API that lets...
Denmark to Revise Tax Law to Target Cryptocurrencies
10.6.2021
The Danish tax ministry is reportedly mulling over revising the country’s tax law to deal with the challenges posed by cryptocurrencies. Denmark’s tax authority is concerned about the rising risk of fraud and widespread filing errors involving cryptocurrencies. Denmark to Revamp Tax...
target=”blank”
9.6.2021
Does that make your eye twitch a little bit? Like… it’s a typo. It should be target="_blank" with an underscore to start the value. As in…
<a target="_blank" href="https://codepen.io"Open CodePen in a New Tab
</a
Welp, that’s correct syntax!…
The post...
Links on Accessibility
7.6.2021
Show/Hide password accessibility and password hints tutorial — Nicolas Steenhout goes deep on <input type="password"> accessibility. For one thing, being able to toggle it to type="text" should be possible, while announcing, politely, the change. But also, put the password hints...
VS Code Extensions for HTML
7.6.2021
Let’s look at some extensions for VS Code that make writing and editing HTML (and languages that are basically HTML with extra powers) better. You may not like all of them. Maybe some of them don’t appeal to you, solve …
The post VS Code Extensions for HTML appeared first...
US Pharmacy Chain Pharmcorx Accepts Cryptocurrency for Fast Covid Testing
6.6.2021
Progressive Care, a company that operates a chain of pharmacies in the United States, has announced it’s now accepting cryptocurrency for its Covid-19 rapid testing services. Customers are welcome to pay with bitcoin for the quick tests offered at its Pharmcorx locations using a dedicated...
Can I :has()
4.6.2021
I just joked that we’re basically getting everything we want in CSS super fast (mostly referring to container queries, my gosh, can you imagine they are actually coming?). Now we might actually get parent selectors?! As in .parent:has(.child) { …
The post Can I :has() appeared first...
Trigonometry in CSS and JavaScript: Getting Creative with Trigonometric Functions
2.6.2021
In the second part of this series on trigonometry, we’ll explore JavaScript trigonometric functions and learn how we can apply them to our CSS code.
The post Trigonometry in CSS and JavaScript: Getting Creative with Trigonometric Functions appeared first on Codrops
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...
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...
FBO Particles with Three.js
31.5.2021
Learn how to code the particle cloud seen on the website of Visualdata using Three.js.
The post FBO Particles with Three.js appeared first on Codrops
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...