1条回答 默认 最新
Zarek⠀ 2021-10-09 19:57关注1.内联方式
<input type="text" style="background: red;">- 使用类名的方式
<style> .input-style { background: red } </style> <input type="text" class="input-style">
本回答被题主选为最佳回答 , 对您是否有帮助呢?评论 打赏 举报解决 1无用- 使用类名的方式
1.内联方式
<input type="text" style="background: red;">
<style>
.input-style {
background: red
}
</style>
<input type="text" class="input-style">