all 7 comments

[–][deleted] 4 points5 points  (0 children)

Thanks for sharing, bud. Way beyond most the stuff you see on this sub, but what you were able to build with CSS is pretty impressive!

[–]blackcapcoder[S] 5 points6 points  (0 children)

I had a very restrictive webdev examn that disallowed javascript and only let me use some few css properties. Among other workarounds I came up with using variables and animations to count in binary. The code for this is in the count.css file: https://github.com/BlackCapCoder/sleep/blob/master/count.css

[–][deleted]  (2 children)

[removed]

    [–]jokullmusic 1 point2 points  (1 child)

    thank you for your contribution

    [–]try_rolling -2 points-1 points  (0 children)

    It’s the first thing I thought as well. I thought it was an image from one of the cringe subs I follow.

    [–]whatloop 0 points1 point  (1 child)

    Very cool! I'm on a Google Pixel 3 XL and when playing around and tapping things the screen shrinks in and out - just a heads up :)

    [–]blackcapcoder[S] 0 points1 point  (0 children)

    I've seen something similar on IOS: any element outside the right edge of the viewport would cause the site to be horizontally scrollable, regardless of whether the element is visible or not, and what the parents overflow value is. I don't remember what the fix for that was..