This is probably the funniest Codepen I found this year!
Simon Holdorf

Simon Holdorf @simonholdorf

About: Coder • Freelancer • Creator Cloud • DevOps • Full-Stack • Data • Security • AI YouTube: https://youtube.com/@litwire Site: https://bio.link/simonholdorf Newsletter: https://litwire.substack.com

Location:
Remote
Joined:
Jul 29, 2019

This is probably the funniest Codepen I found this year!

Publish Date: Oct 18 '19
710 61

This is rather a short post but I find this codepen by Bård N Hovde so awesome that I must share it with you:

Amazing what you can do with JavaScript and CSS, agree?

Please leave a comment if you like this as well or managed to hit the button. Also don't forget to follow me here and on Twitter for more upcoming posts!

Comments 61 total

  • Andrew (he/him)
    Andrew (he/him)Oct 18, 2019

    That's awesome!

  • Konstantin Meiklyar
    Konstantin MeiklyarOct 18, 2019

    Amazing!

  • Ehsan Azizi
    Ehsan AziziOct 18, 2019

    That was fantastic!

  • negue
    negueOct 18, 2019

    Hehe quite awesome!

  • Tolgahan ÜZÜN
    Tolgahan ÜZÜNOct 18, 2019

    heheh 😅 it's funny

  • Chris Achard
    Chris AchardOct 18, 2019

    Ha, I saw this other day - it's fantastic :)

    For anyone looking in the code for the 'trick' (of hiding the mouse), it's done by setting the cursor in JS on this line:

    const screenStyle = cursorGrabbed ? { cursor: "none" } : {};
    

    and then the fake mouse pointer is part of the hand graphic. Brilliant!

    • SavagePixie
      SavagePixieOct 18, 2019

      Oh, so there is a cursor trick! I've seen it on my mobile, where you can obviously just tap on things, so I hadn't caught on this feature.

    • sanjaysupanch
      sanjaysupanchOct 18, 2019

      oSM

  • Cadu de Castro Alves
    Cadu de Castro AlvesOct 18, 2019

    That's very funny!

  • Ross Coundon
    Ross CoundonOct 18, 2019

    Love it, very clever :-D

  • Gherciu Gheorghe
    Gherciu GheorgheOct 18, 2019

    :) amazing

  • Mike Lim
    Mike Lim Oct 18, 2019

    hoho that's awesome dudeeeeee

  • Mike Lim
    Mike Lim Oct 18, 2019

    hahaha very funny _^

  • Thomas Bnt
    Thomas BntOct 18, 2019

    Funny!

  • gabmen1711
    gabmen1711Oct 18, 2019

    Hahahaha awesome!

  • CamCode
    CamCodeOct 18, 2019

    Amazing!!! I like the "effect" on button :)

  • Santhosh Kumar
    Santhosh KumarOct 18, 2019

    hahah, clever!

  • Robin Kretzschmar
    Robin KretzschmarOct 18, 2019

    That... was awesome! It really made me laugh loud in the office 👍🤣
    Thanks for sharing this!

  • Stacey Graham 🌺💻
    Stacey Graham 🌺💻Oct 18, 2019

    Very funny lol

  • Kobe Raypole
    Kobe RaypoleOct 18, 2019

    This made me laugh, yet oddly frustrated at the same time.

  • Fulton Browne
    Fulton BrowneOct 18, 2019

    This is amazing

  • Petry DeChamp Richardson
    Petry DeChamp RichardsonOct 18, 2019

    seriously love this! Thanks for the share.

  • Giovanni Giordano
    Giovanni GiordanoOct 18, 2019

    Passing by the bottom-left corner you can go on the button :D

  • Gabe Romualdo
    Gabe RomualdoOct 18, 2019

    Pretty fun, with a combination of fast mouse movements and right-click trickery, I managed to produce a waving hand without changing any of the code.

    Waving Hand Demo

    — Gabriel

  • JD Taft
    JD TaftOct 18, 2019

    The most fun I had with this was keeping the pointer just out of reach. This probably says more about me than I'd rather admit. 🤣

  • Lautaro Lobo
    Lautaro LoboOct 18, 2019

    Yeah funny af, my mom (not really a techy person) ended up LOL

  • Siddharth Roychoudhury
    Siddharth RoychoudhuryOct 18, 2019

    sweet :)

  • Eddie
    EddieOct 18, 2019

    Amazing! I needed this today. TY

  • Teerapat Prommarak
    Teerapat PrommarakOct 19, 2019

    Awesome!

  • AxelleDRouge
    AxelleDRougeOct 19, 2019

    ha so funny, thanks for the share that made my day

  • Amruth Pillai
    Amruth PillaiOct 19, 2019

    Brilliant use of CSS and logic. Had so much fun playing around with this.
    And using the Chrome Dev Console, clicked the button using Javascript, this was the result.
    Cool that the dev included that as well :)

    Nice One!

  • Joell Lapitan
    Joell LapitanOct 19, 2019

    I caught the button by using the Tab :)

    I remember doing this same trick before with Visual Basic 6, more than a decade ago :)

  • Dillion Megida
    Dillion MegidaOct 19, 2019

    Was able to click the button on mobile though 🙂

  • Clark Chiu
    Clark ChiuOct 20, 2019

    Ha Ha Ha, nice codepen.

  • TechGirl007
    TechGirl007Oct 20, 2019

    That is so cool! I am going to give that a go ~ if you don't mind! Well Done!

  • timkovik
    timkovikOct 20, 2019

    бьт

  • Mr.Ward
    Mr.WardOct 22, 2019

    Haha. This had me rolling! I love seeing creative stuff like this.

  • Varun
    VarunOct 23, 2019

    Brilliant skills and imagination.

  • Jakob Wildrain
    Jakob WildrainOct 23, 2019

    Yes, it is! Click on the text above the button (to gain focus) and use TAB to select the button, now press SPACE or ENTER. You have pressed the button and it changes the caption to "Nice one".
    While it is technically not "clickable", it is indeed "pressable", to use your own word ;)

  • Jarod Peachey
    Jarod PeacheyOct 23, 2019

    Am I the only one who keeps trying to press the button? Like, i've been at it for 10 minutes? 😂

  • kleene1
    kleene1Oct 24, 2019

    😄👏

  • Illia Pyshniak
    Illia PyshniakNov 15, 2019

    If you press the button and then give your cursor to bottom buddy...

  • Angel Centeno
    Angel CentenoNov 20, 2019

    This is hilarious! I had to share it with my team.

  • SamP
    SamPJan 3, 2020

    This is so cool! Loved it.

  • Naveen Kharwar
    Naveen KharwarApr 12, 2020

    hahaha cool

  • Mohammed Nabeel
    Mohammed NabeelAug 29, 2020

    Wow

  • Henry Boisdequin
    Henry BoisdequinDec 16, 2020

    If you click the button, the current state is shaka 😂

  • ajdajddlek
    ajdajddlekNov 24, 2023

    The person who created this post is a very nice person. It seems like a lot of people are having fun here. I love how you share posts every day. 메이저사이트

  • briansclub cc
    briansclub ccNov 6, 2024

    got it nice work

Add comment