Josh Buchea

Josh Buchea

Hi, I'm Josh Buchea! I live and work in Bend, Oregon building useful things. You should read my blog or follow me on Twitter.


Disable Text Selection with CSS

July 28, 2016

.disable-selection {
  -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
    -webkit-user-select: none; /* Chrome, Safari, and Opera */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer */
}