tomayac’s avatartomayac’s Twitter Archive—№ 14,665

  1. Using CSS to Control Text Selection: codersblock.com/blog/using-css-to-control-text-selection/. Incredibly clever trick that animates (yes, it’s animatable) the user-select CSS property on focus to get code samples on webpages to support both “copy all” and “copy selection”. 💡