Search

Nalezeno "CODE": 1642

Ancient ‘90s Code From Quake Still Controls Lights In Half-Life: Alyx


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


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...

Making Tables With Sticky Header and Footers Got a Bit Easier


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...

Adding Shadows to SVG Icons With CSS and SVG Filters


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


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


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


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


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”


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


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


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


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()


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...

Code blocks, but better


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


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


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


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...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace