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:
(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
gists/single-html-address-field-with-autocomplete-using-javascript.md at main
gists - A place for me to post and share small, self-contained code snippets.Codeberg.org
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)