Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css selector for getting disabled input field

/* select all disabled input field*/
input:disabled {
  background: #f00;
}
Comment

css disable input

 <input type="text" name="username" value="admin" tabindex="-1" >

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

css disable input

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

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

css disable input

<input type="text" name="username" value="admin" >
<style type="text/css">
  input[name=username] {
    disabled: true; /* Does not work */
  }
</style>
Comment

input css for disabled state

input:disabled {
  background: #ccc;
}
Comment

input disabled css

input diasbled
Comment

PREVIOUS NEXT
Code Example
Css :: how to change the select arrow in css 
Css :: text shadow in css 
Css :: css letter spacing tight 
Css :: mat slide toggle iverted 
Css :: css disable animation on load 
Css :: To set HTML attribute and css styles in html helper control in mvc 
Css :: change parent div css on over of child 
Css :: css text background 
Css :: scss global class 
Css :: css linear gradients 
Css :: increase Nth-child CSS 
Css :: How to keep same background-image ratio/size on all different screen sizes? 
Css :: how to set media path and media root 
Css :: css last child with class 
Css :: hamburger icon css3 
Css :: fonts from google fonts do not work 
Css :: css not working 
Css :: how to change paragraph text color to Red css 
Css :: css contain property 
Css :: transform css 
Css :: How to replace broken image CSS? 
Css :: check browser on css 
Css :: lando expose database port 
Css :: how to code color css property 
Css :: fade div 
Css :: css pagedList 
Css :: space-x css 
Css :: background path css 
Css :: how to remove input background on select oin css 
Css :: style class css 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =