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 :: background size in css 
Css :: css attr(data-hover) 
Css :: add backdrop to modal css 
Css :: media query for mobile landscape only 
Css :: background fixed 
Css :: zoom animations in css 
Css :: text decoration underline not removing 
Css :: why top -10 css? 
Css :: css vertical align center 
Css :: scrollbar height css 
Css :: how to set fallback font in css 
Css :: removing input border shadow 
Css :: How to horizontally center an element 
Css :: stylesheet css 
Css :: css make input unselectable 
Css :: z index div over cursor 
Css :: how to center text in css 
Css :: css animate border bottom on hover 
Css :: paragraph next to image html 
Css :: lower brightness of backgroung css 
Css :: css text align right 
Css :: css dropdown menu with scrollbar 
Css :: vertical align css 
Css :: jquery hide scrollbar but allow scrolling 
Css :: add quotes in quote css 
Css :: flex direction tailwind 
Css :: how to hange the color of your cursor in css 
Css :: line-weight css 
Css :: flex align self 
Css :: media queries 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =