Answers for "css disable property"

CSS
6

disable whole div bootstrap 4

$("#mydiv").addClass("disabledbutton");
.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}
Posted by: Guest on June-06-2020
2

css disabled

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

<style type="text/css">
input[name=username] {
    pointer-events: none;
 }
</style>
Posted by: Guest on May-10-2020

Browse Popular Code Answers by Language