Using regular expression in css?

前端 未结 8 1696
野的像风
野的像风 2020-11-22 06:01

I have an html page with divs that have id(s) of the form s1, s2 and so on.

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 06:20

    You can' just add a class to each of your DIVs and apply the rule to the class in this way:

    HTML:

    ...
    ...

    CSS:

    //css
    .myclass
    {
       ...
    }
    

提交回复
热议问题