前端 CSS, HTML, Layui, Web前端 2024-03-07 Source Edit History Layui表单项标签添加必填标识 代码块123456<style> .layui-form-label.required:after { content: ' *'; color: red; }</style>