Defining CSS properties twice

前端 未结 3 1692
北海茫月
北海茫月 2020-12-16 11:50

general.css

#feedback_bar
{
  /*props*/
}

another.css

#feedback_bar
{
  /*props*/
}

Is this allowed? Will

3条回答
  •  不知归路
    2020-12-16 12:18

    This is allowed, but if there are duplicate properties, the last one will be used.

提交回复
热议问题