Declaring same CSS class multiple time

前端 未结 5 971
独厮守ぢ
独厮守ぢ 2021-01-07 05:39
haha
haha

This (type 1) seems workable :-

.big_         


        
5条回答
  •  孤独总比滥情好
    2021-01-07 06:35

    I would use option 3 so that both boxes inherit the class box and then you can define whether that box is small or large.

    However, there are a number of ways you can do this but this would certainly be my recommendation.

提交回复
热议问题