Blogs

Click Once, Select All; Click Again, Select Normally | CSS-Tricks

Css Tricks

- Force all the content of an element to be selected when clicked with user-select: all; - If you click a second time, let the user select just parts of the text as normal.

Visit Site

Click Once, Select All; Click Again, Select Normally | CSS-Tricks
Unsuck It | CSS-TricksCss Tricks Responsive Iframes | CSS-TricksCss Tricks Finally... A Post on Finally in Promises | CSS-TricksCss Tricks Weekly news: Truncating muti-line text, calc() in custom property values, Contextual AlternatesCss Tricks What the Web Needs Now (and how ARTIFACT is here for it)Css Tricks What I Like About VueCss Tricks The Best (and Worst?) of Voice AI TechnologyDeepgram The Best Video Editing Software in 2026 (Including Free Options)Zapier This Week in Programming: Who's Headed to KubeCon?Thenewstack Flockport: Time to Start All Over Again and Return to LXC ContainersThenewstack Discovered Stacks: One Place for All Your InfrastructurePulumi What is a CUDA Thread Block?Modal What is a Streaming Multiprocessor Architecture?Modal What is a Load/Store Unit?Modal CLI ReferenceModal What is a Streaming Multiprocessor?Modal Docker Community All Hands RecapDocker Using Web AnalyticsVercel Instrumentation configurationOpentelemetry How to instantly follow up on Facebook Lead Ads with custom notificationsZapier