Search
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...
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...
How to Code a Crosshair Mouse Cursor with Distortion Hover Effect
26.5.2021
A quick tutorial on how to craft a fullscreen SVG crosshair mouse cursor with a special distortion hover effect.
The post How to Code a Crosshair Mouse Cursor with Distortion Hover Effect appeared first on Codrops
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...
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...
proxy-www
24.5.2021
I like a good trick. What if… a URL was… a promise… that fetched said URL?
www.codepen.io.then((response) ={
console.log(response);
});
That’s what @justjavac did with JavaScript Proxys. A clever trick, that. Don’t @ me about the practicality. Trick…
The post...
Russian Lawmakers Move to Allow Crypto Payments Under Contracts
24.5.2021
Members of the State Duma are now working on amendments that will permit the use of cryptocurrency as a contractual means of payment. Digital financial assets are regarded as property under Russian law and the changes will legalize crypto payments between parties to a contract. State Duma to Amend...
fit-content and fit-content()
20.5.2021
Here’s some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content (the smallest an element can be based on the content it contains) and max-content (the largest the content of an element can push it) …
The post fit-content and fit-content() appeared...