Skip to main content
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext embed permalink jul 14 2022 15 sec 44/50 words

The “CSS router” has always been quite the clever trick for navigating sufficiently small sites. This site uses it to scroll switch pages, and portable.fyi gets clever with visibility :target switching. Do it just right and no one notices unless they “inspect the elements”.

#webdev
Newer Older
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext embed permalink jul 12 2022 16 sec 49/50 words

It’s always humbling when I get around to reading a web related spec. and have a lot of functionality. JavaScript’s not bad (it’s the easiest part of web development) but gives you just enough rope to do super silly things like reinventing all built in browser functions.

#webdev
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext embed permalink jul 10 2022 20 sec 59/50 words

White spaces in trick many into writing complex — web development is trollish that way. Firefox’s developer tools show generated white spaces! Hopefully your abstraction is munging HTML faithfully. It’s easy to fight white spaces without realising it. That generally leads to using unsuitable display types and other shenanigans.

Firefox Developer Tools
Firefox’s white space detector
Index: Cache · Source
#webdev
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext embed permalink jul 6 2022 27 sec 82/50 words
Web servers can be spun up quickly on the command line but with gotchas.

Take the innocent web server .

shell
php -S 127.0.0.1:8080

Best not to use PHP’s web server cli (even for PHP) because routes with a dot (.) are assumed to be static files. Use a real web server or superior cli web servers with minor gotchas.

shell
python -m http.server --bind 127.0.0.1 8080
busybox httpd -f -p 127.0.0.1:8080
ruby -run -e httpd . -p 8080
#gists #webdev

Authors

Gallery

Following

Web Ring