Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    T

    The CSS Ninja

    thecssninja.com · Personal blog · on HN since 2009

    A front-end developer writes about CSS, JavaScript, and browser features such as drag and drop, the File API, and event handling.

    Visit blogHN submissions
    Web DevelopmentProgramming
    What HN says

    HN links it for technical details on browser behavior, such as pointer events and scrolling performance and how handleEvent works with addEventListener.

    Stats for nerds
    19HN people shared it
    44linked in comments
    433story points
    Dec 2013last shared
    2012people per year2013

    Top posts on HN

    1. 1
      60fps scrolling using pointer-events: none
      1 person · 104 points · first shared 2013 · 32 comments on HN
    2. 2
      Pure CSS collapsible tree menu
      2 people · 87 points · first shared 2010 · 17 comments on HN
    3. 3
      Drag out files like Gmail
      1 person · 47 points · first shared 2010 · 6 comments on HN
    4. 4
      Futurebox, lightbox without the JavaScript
      1 person · 45 points · first shared 2009 · 17 comments on HN
    5. 5
      Slides: HTML5 Drag & Drop and Friends
      1 person · 31 points · first shared 2011 · 3 comments on HN
    6. 6
      Getting fancy with the console
      2 people · 23 points · first shared 2011 · 5 comments on HN
    7. 7
      The H5F library, emulate the HTML5 forms chapter
      1 person · 17 points · first shared 2010 · Discussion on HN
    8. 8
      Web Notifications
      1 person · 10 points · first shared 2010 · Discussion on HN
    9. 9
      Futurebox, lightbox without the javascript and target pseudo-class
      1 person · 8 points · first shared 2010 · 2 comments on HN
    10. 10
      Custom radio and checkbox inputs using CSS
      1 person · 7 points · first shared 2010 · Discussion on HN

    What HN people wrote when they linked it

    • ahrjayDec 2013

      According to a few people both IE11[1] and Firefox[2] disable hit testing on scroll if you don't move your cursor while scrolling.

      [1] http://www.thecssninja.com/javascript/pointer-events-60fps/comment-page-1#comment-7528
      [2] http://www.thecssninja.com/javascript/pointer-events-60fps/comment-page-1#comment-7562

    • b3ttaDec 2012

      When using addEventListener, "this" is not necessarily bound to the DOM node. You can also pass an Object whith a "handleEvent" function as attribute, instead of directly passing a function.

      You can read more about it for instance here: http://www.thecssninja.com/javascript/handleevent

    Related

    WebKit Blogwebkit.org723 people

    Face ID and Touch ID for the Web

    WebKit Blog
    Company · last shared 2026
    Performance Calendarcalendar.perfplanet.com123 people

    HTML and CSS techniques to reduce your JavaScript

    Performance Calendar
    Publication · last shared 2026
    Bram.usbram.us47 people

    YAML: The Norway Problem (2022)

    Bram.us
    Personal · last shared 2026
    The Man in Bluethemaninblue.com37 people

    "HTML5" versus Flash: Animation Benchmarking

    The Man in Blue
    Personal · last shared 2022
    Nolan Lawsonnolanlawson.com133 people

    Safari is the new IE

    Nolan Lawson
    Personal · last shared 2026
    Jake Archibaldjakearchibald.com191 people

    I discovered a browser bug

    Jake Archibald
    Personal · last shared 2026
    CSS { In Real Life }css-irl.info22 people

    Aspect-ratio is great

    CSS { In Real Life }
    Personal · last shared 2024
    Frontstufffrontstuff.io20 people

    How to Handle Monetary Values in JavaScript

    Frontstuff
    Personal · last shared 2024