Urgent.News

One page, thousands of outlets. See who else covered it.

Editions โ–พ

Tech

PawCSS - Your Dog, Rebuilt with Real CSS Elements

Hackathon prompt: Build something for, about, or inspired by dogs. International Dog Day is August 26. I decided to answer the prompt with a question: What if your dog wasn't a photo โ€” but a physical piece of CSS? ๐Ÿพ Meet PawCSS PawCSS turns any dog photo into a living CSS artwork. Upload a picture, and the app reads every pixel, quantizes the colors, then renders the image again as thousands ofโ€ฆ

PawCSS transforms photographs of dogs into intricate CSS artworks. When users upload a dog photo, the app analyzes every pixel and converts it into individual HTML elements styled with CSS. There are no filters, canvas tricks, or hidden image tags; the final result is a grid of DOM nodes. The app offers six CSS reconstruction modes, each with a distinct visual style.

Users can adjust the resolution, switch between styles, and compare the original photo with the CSS reconstruction using a before/after slider. The project integrates with Google AI to generate a playful personality profile for the dog, including an invented name, likely breed, energy and cuddle levels, a one-line description, and a funny dog thought.

This integration is optional and can be swapped for an alternative voice service without altering the core functionality. PawCSS is built using TanStack Start, React, and Tailwind CSS, with image processing handled separately for easy testing and reuse. The project aims to celebrate dogs and demonstrate the creative potential of the open web.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

States take Meta to trial in California in the biggest fight yet over social media harms to children

Of the thousands of lawsuits Meta faces over child safety on its platforms, none may be more consequential than one going to trial this week in California.

  • Meta faces historic California trial, largest lawsuit over child safety on social media platforms
  • States collectively demand up to $1.4 trillion in damages to reshape Meta's operations
  • Four states (California, Colorado, Kentucky, New Jersey) lead lawsuit against Meta

Building Fluentic Style: Bringing the `css` Prop to SolidJS

This is part of my Building Fluentic Style series, where Iโ€™m writing down the design decisions, tradeoffs, and small surprises from building Fluentic Style .

  • Fluentic is a new styling model for web apps, inspired by React Native.
  • Fluentic decouples styling from React and can be used with SolidJS.
  • Fluentic adapts its CSS prop to work with SolidJS DOM elements.

More from Monday 17 August โ†’