Declaring CSS rules to apply only to a particular class

前端 未结 4 1561
小鲜肉
小鲜肉 2021-01-19 15:14

I have the following CSS I need to apply to only a particular div (because of conflicts):

The div in question has the class name datepicker-days. Do I declare the be

4条回答
  •  走了就别回头了
    2021-01-19 16:01

    You would do the following:

    .datepicker-days table {
        Styles here;
    }
    

    This looks for

    with the .datepicker-days class only

    提交回复
    热议问题