Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css disable selection

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

<p>
  Selectable text.
</p>
<p class="noselect">
  Unselectable text.
</p>
Comment

css disabled

<input type="text" name="username" value="admin" >

<style type="text/css">
input[name=username] {
    pointer-events: none;
 }
</style>
Comment

PREVIOUS NEXT
Code Example
Css :: hard cutoff gradient 
Css :: list on click in css 
Css :: Text zentrieren 
Css :: webpack how to disable warning when run build 
Css :: on active tab background color with slide animation 
Css :: Add macOS-esque DropShadow to Images 
Css :: css animation left 
Css :: low opacity whit out toching child nods 
Css :: groupby 
Css :: css fr meaning 
Css :: how to write css 
Css :: box align css 
Css :: best os for programming 
Css :: css border image repeat property 
Css :: spree_digital 
Typescript :: ts lint ignore next line 
Typescript :: matlab run all tests in folder 
Typescript :: regex only digits and dots 
Typescript :: get minutes between two dates ts 
Typescript :: font awesome angular 
Typescript :: react native children type 
Typescript :: if env variable exists bash 
Typescript :: cannot find module faker or its corresponding type declarations 
Typescript :: react onclick typescript type 
Typescript :: how to add new line at n typography 
Typescript :: check if string include numbers in typescript 
Typescript :: node fetch exports is not defined 
Typescript :: mongodb increment array item 
Typescript :: Should robots have faces? 
Typescript :: install eslint for typescript 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =