this post was submitted on 16 Jul 2026
2 points (66.7% liked)

BadUiBattles

650 readers
1 users here now

Unofficial Lemmy/PieFed community for /r/baduibattles

Rules :

founded 6 months ago
MODERATORS
2
Skyline Clock (codepen.io)
submitted 2 weeks ago* (last edited 2 weeks ago) by gwl@lemmy.blahaj.zone to c/baduibattles@piefed.social
 

Cross-posted from "Skyline Clock" by @gwl@lemmy.blahaj.zone in !bad_ui_battles@programming.dev


Pointless thing I made

The skyline is the middle gradient, which can be dragged left/right

https://codepen.io/GeorgeWL/full/myPyeaX

all 4 comments
sorted by: hot top controversial new old
[–] NightFantom@slrpnk.net 2 points 2 weeks ago (2 children)

Where do you live that 23 hours is pitch black but 01 is a bright yellowish white?

Fun idea but either it bugged out or needs some tweaking lol

[–] gwl@lemmy.blahaj.zone 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Tell me what colours work better? Didn't wanna go from WHITE to BLACK as it might look it's just an empty div

Also, 90% of the point of this sub is something quick and dirty

This isn't Good UI Battles

Edit: merged two comments into one

[–] NightFantom@slrpnk.net 2 points 2 weeks ago

Black at midnight to blue/white at noon, back to black at midnight, though you'd want some differentiation between morning and afternoon probably, maybe morning shades of blue and afternoon shades of orange? Transitioning through white at noon and black at midnight?

And yeah I'm not judging, I love the idea, but couldn't help it 😅