Can a CSS class inherit one or more other classes?

前端 未结 30 3220
挽巷
挽巷 2020-11-22 00:01

I feel dumb for having been a web programmer for so long and not knowing the answer to this question, I actually hope it\'s possible and I just didn\'t know about rather tha

30条回答
  •  遇见更好的自我
    2020-11-22 00:48

    I was looking for that like crazy too and I just figured it out by trying different things :P... Well you can do it like that:

    composite.something, composite.else
    {
        blblalba
    }
    

    It suddenly worked for me :)

提交回复
热议问题