css3 - CSS Style For Div element Using Attribute -
<div class="td" disabled="disabled">pppppppppppppppppppppppppp</div>
how write css style type of div element using attribute disabled
use attribute selector [attr=value]
.td[disabled=disabled] { color: red; }
<div class="td" disabled="disabled">pppppppppppppppppppppppppp</div>
Comments
Post a Comment