.required::before {
content: '*';
color: red;
}
使用before加*号
最新推荐文章于 2024-05-31 11:02:10 发布
.required::before {
content: '*';
color: red;
}