Back to home
Technology

Show HN: CSS Extras

Source

Hacker News

Published

TL;DR

AI Generated

"CSS Extras" is a collection of over 50 CSS custom functions that can be used without a build step, leveraging the new native CSS @function rule. These functions cover areas like math, colors, typography, layout, animations, and more. The package is currently supported in Chrome 141+ and will be available in other browsers as the @function rule goes through standardization. Users can install it via npm and start using the functions directly in their CSS. The functions are organized into categories like Math & Number, Color, Typography, Layout, and more, offering a wide range of utilities for styling web projects.

Read Full Article

Similar Articles

Enterprising developer somehow writes an x86 CPU emulator in plain CSS — no Javascript, no WASM, just stylesheet computing

Enterprising developer somehow writes an x86 CPU emulator in plain CSS — no Javascript, no WASM, just stylesheet computing

Lyra Rebane, a developer, created an x86 CPU emulator using only CSS, without JavaScript or WASM. The emulator includes a display, keypad, and preinstalled programs like Fibonacci sequence calculations. While it can't run Doom due to missing key functionalities, it's a remarkable achievement. Rebane's project showcases the creative potential of CSS beyond styling websites and challenges the notion of CSS as just a design language.

Tom's Hardware
Adding AI to sinus surgery system saw malfunctions rocket from eight to 100 incidents, according to new investigation — skull-puncturing errors are the stuff of nightmares

Adding AI to sinus surgery system saw malfunctions rocket from eight to 100 incidents, according to new investigation — skull-puncturing errors are the stuff of nightmares

An investigation revealed that the introduction of AI to the TruDi Navigation System used in sinus surgery led to a significant increase in malfunctions, with incidents rising from eight to 100. These malfunctions included serious issues like skull punctures, arterial damage, and strokes, resulting in major medical emergencies. Lawsuits are attributing these mishaps to the AI enhancements made to the system. The FDA has been struggling to keep up with the approval and monitoring of AI-enhanced medical devices, with reports of increased recalls and challenges in evaluating the safety and accuracy of these technologies.

Tom's Hardware
JavaScript creator warns against “rushed web UX over native” as Windows 11 leans harder on WebView2 and Electron

JavaScript creator warns against “rushed web UX over native” as Windows 11 leans harder on WebView2 and Electron

JavaScript creator Brendan Eich criticizes Windows 11 for relying heavily on web frameworks like WebView2 and Electron, warning against prioritizing rushed web user experiences over native ones. Eich emphasizes the importance of taking time to develop web apps properly, rather than opting for quick solutions. Discord, Teams, and WhatsApp on Windows 11 are highlighted for their resource-intensive nature due to their use of web technologies. Eich argues that business incentives, such as subscription models and lock-in strategies, are the driving forces behind the push for web-based applications.

Windows Latest
Hacker News

How to make a Smith chart

The article discusses how to create a Smith chart, but the content provided seems to be a script related to enabling JavaScript and cookies on a website. It includes code snippets and references to specific URLs, but it lacks the actual steps or instructions for making a Smith chart. It appears to be more focused on technical aspects of web development rather than the intended topic of creating a Smith chart.

Hacker News

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.