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

how to disable css-select select box

.nav-tab-dropdown .cs-select .cs-placeholder {
  pointer-events: none;
}
Comment

PREVIOUS NEXT
Code Example
Css :: responsive width css 
Css :: how to make a game engine 
Css :: css gradient background 
Css :: width css 
Css :: css div take remaining screen height 
Css :: css disabled button hover style 
Css :: double border css 
Css :: css remove whitespace around element 
Css :: overflow-x hidden not working 
Css :: center text in height css 
Css :: css background image not working 
Css :: background position 
Css :: scss maps´ 
Css :: css custom properties 
Css :: change image color in bootstrap card on hover css 
Css :: list in html css 
Css :: ubuntu uninstall unity hub 
Css :: media breakpoints 
Css :: round image css 
Css :: padding top bottom 
Css :: tailwind css absolute pin 
Css :: make clicks pass through element css html 
Css :: uigradients 
Css :: width in % of a screen css 
Css :: nav bar without display:flex 
Css :: css select parent 
Css :: css grayscale image 
Css :: css line-through with words 
Css :: css text color 
Css :: css reset code 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =