css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

4 examples of the possibilities of CSS pointer-events

This Pen is a fork of Martijn Cuppens's Pen rrMjog.


  1. wow that's really cool. How is browser support?

  2. This is so bizarre! Really neat discovery, haha.

  3. Very cool! I learned something—thanks!

    It's a shame you can't do the same thing with :focus as with :hover.

  4. some great concepts here, thanks for sharing!

  5. @randy, you can: check out the :focus-within pseudo class: https://codepen.io/anon/pen/ZjLxNR

    (not supported in IE and Edge though https://caniuse.com/#feat=css-focus-within)

  6. This is fantastically smart. Thanks!

  7. Look amazing

    I never thought it would work..but it works very cool

  8. Strange: Exemple 3. not working in Firefox 61

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.