CSS 类似正则您说的那种方式在css中称为类别选择器,可以这样写:将'#'替换成‘.’<style>.pan_err{color:#FF0000}<style>使用:<di2023-03-04html-css200