It is necessary that the disabled block is assigned:
display: none;
Not disabled block:
display: block;
How can this be realized?
You can use the selector by property:
div { display: block; } div[disabled="disabled"] { display: none; }
<div disabled="disabled">disabled</div> <div>active</div>
Source: https://ru.stackoverflow.com/questions/905562/More articles:I can’t change the background through: checked to cssHow to make a function in classpass in the procedure as a var parameter TObjectParsing the site gives an unexpected result.The program is valid only for an empty parameter bundle.Strange behavior of objects created by the new methodAdding a few laps to Yandex. MapHow to enable circular dependencies in Delphi?Transferring values from one window to another in javafxCalling methods one after another through a dotAll Articles