Skip to main content

Search

Items tagged with: code


Little web dev tip: if you have just one address field in your HTML form (e.g., a textarea) but you still want the person filling it in to avail themselves of autocomplete, here’s a little reusable snippet you can use to achieve that:

https://codeberg.org/aral/gists/src/branch/main/single-html-address-field-with-autocomplete-using-javascript.md

(Ideally the web spec should be extended to include a full-address value for the autocomplete attribute.)

#HTML #autocomplete #JavaScript #address #web #dev #tip #code


Here's a little something: flicker effect!

(if you're a patron on Patreon, you may have seen I've gone down the rabbithole of text effects for the past few months)

No text/ letter duplication whatsoever. No wrapping individual letters in their own elements. Just a single contenteditable element + some SVG filter & CSS gradient & variable magic πŸͺ„βœ¨πŸŽ©πŸ‡

Idea from https://nitter.privacytools.io/Mandy_Kerr/status/1772850250950316258

*needs monospaced font to work

#CSS #SVG #filter #svgFilter #textEffect #code #coding #webDev #frontend


(Nitter addon enabled: Twitter links via https://nitter.privacytools.io)

⇧