₱ӾĦȻ

pxhc.neocities.org

9,204 views
160 followers
1,537 updates
0 tips
ooh, using $="" ^="" on CSS is game changer (when you have bunch of similar elements)
5 likes
pxhc's avatar pxhc 6 days ago

yep, cut about 20k from the CSS using this :)

brachypelmide's avatar brachypelmide 6 days ago

im gonna pretend that i even remotely know what that means

1 like
brachypelmide's avatar brachypelmide 6 days ago

also a 20k diff is like WOW

1 like
pxhc's avatar pxhc 6 days ago

I got focused on how radio inputs need to be sibilings to the elements they are changing and thinking now there would have been easier ways to set up the stuff, but putting a switch on 24 elements for 7 different setups and each line with like 80 characters is already 13.4k characters, now I just put [class$="x"] and I change every class that ends with x so just one line per setup, the rest were other clean ups I did

2 likes
oldkidz-newblockz's avatar oldkidz-newblockz 4 days ago

i wish i could find use for this. i got elements that use like 5 class selectors - bloat again. some is to use, but some is questionable... sweet

pxhc's avatar pxhc 3 days ago

Me renaming .msg1, .msg2, .msg3, .msg4, .msg5 { } to [class^="msg"] { } and saving so many bits from the internet.

1 like

Website Stats

Last updated 56 minutes ago
CreatedFeb 26, 2026
Site Traffic Stats

Tags

ascii microblog indieweb nihilism cyberpunk