HTML
required">*required
CSS
这个css不会改变’*’的颜色,它会改变’* R’.为什么?
.required::first-letter { font-size: 200%; color: #8A2BE2; }
你可以使用:: before
.required::before { content: '*'; font-size: 200%; color: #8A2BE2; }
required">required