Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Conway's Law cuts both ways (contrapeso.xyz)
    —discuss
  2. Florida asks for order to halt ChatGPT development (axios.com)
    —discuss
  3. Researchers proved AI has deleted every reason universities exist (twitter.com/thesupermannx)
    —discuss
  4. Full Self Hauling: Volvo moves 3 million tonnes of Earth, autonomously (electrek.co)
    —discuss
  5. Dutch 'reformed hacker' arrested in ShinyHunters investigation, police say (reuters.com)
    —discuss
  6. Flock Wants the Most Detailed Map of Its Surveillance Cameras Taken Offline (theintercept.com)
    1comments
  7. Reverse-engineering a $35 backup camera display (AMT630A) (github.com/mogrinz)
    1comments
  8. TikTok, X reportedly barring ads for documentary about Elon Musk (cbc.ca)
    —discuss
  9. Elemental analysis demonstrates 'Donut Battery' is not lithium-ion or sodium (donutlab.com)
    —discuss
  10. Yikes example.com has changed to run JavaScript
    —discuss
  11. Postgres query plans without production data (weavori.com)
    —discuss
  12. What good is a best-effort exclusive lock, anyway? (gaultier.github.io)
    —discuss
  13. The macOS Roblox is now on Linux (github.com/aubree-lat)
    1comments
  14. Show HN: A never-ending chess match between Claude and Codex (claudevcodex.com)
    —discuss
  15. Bitcoin trading model, published in full – wins and failures (bitcoinai.pro)
    —discuss
  16. Clojure-Cli.repl (github.com/clojure)
    —discuss
  17. Skydivers alert crews after plane crashes in cornfield near East Troy airport (wisn.com)
    —discuss
  18. The Great British Converter: From Bytes to Barleycorns (thegreatbritishconverter.co.uk)
    —discuss
  19. Community contributions: sharing is caring (livefasteattrashraccoon.github.io)
    1comments
  20. Trump Brought Venezuelan Gold to the U.S., but Refiners Won't Touch It (nytimes.com)
    2comments
  21. Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust (bughunters.google.com)
    —discuss
  22. 25% autistic guy (me) spent 10k hours making an HTML table move smoothly (number-garden.com)
    1comments
  23. FAA to Delay 737 MAX 10 Approval over New Software Glitch (wsj.com)
    —discuss
  24. State of the (Tagged) Union Address by Andrew Kelley [video] (youtube.com)
    —discuss
  25. Jev Mogs Code Mode (github.com/vishiatchoudhary)
    —discuss
  26. Nvidia launches new tool to keep AI agents from going rogue (cnn.com)
    1comments
  27. The Native TypeScript Compiler Cut Our Typecheck from 13s to 3.5s (mergify.com)
    —discuss
  28. How I made the 2.5D parallax interactive paintings. video and blog (echohive.ai)
    —discuss
  29. Show HN: Divot.css – a simple skeuomorphic button style (nlaz.github.io)
    1comments
  30. Palantir founder purchases large swath of forest in Sweden (arctictoday.com)
    16comments

Show HN: Divot.css – a simple skeuomorphic button style

2 pointsby 20m agonlaz.github.io
1 comments
Hey HN, I wanted to share this stylesheet for a skeuomorphic button that comes from a project I've been working on. Hope you find some interest in it

I wanted to capture some of the physicality of real buttons so I've been playing with this "soft divot" concept. It's a border style that creates an illusion of the button sitting flush on the page.

Skeuomorphic buttons have been around forever. What I think is different here is this idea of maintaining the button face on the same plane as its background.

It comes with three elevation levels: raised (+1), default (0) and sunken (-1). For primary actions you can choose the raised plane face. Then most other buttons, they can stay nicely on the default UI plane.

10m agoHN ↗

This is super cool! really love the thought placed into emulating hardware buttons