クラスが「chatInput」のときにスタイルの使用を防ぐ簡単な方法はありますか?HTMLの例:
<input type="button" value="hello" class="chatInput"/>
そしてCSSは次のようなものです:
input[type=button&class!=chatInput], input[type=submit&class!=chatInput]{
border: 1px solid grey;
padding: 2px 10px 2px 10px;
margin-top: 5px;
margin-bottom: 5px;
}
ありがとう