when to leave space ,when not in CSS?

前端 未结 7 1118
无人共我
无人共我 2021-01-19 19:04

This is ok(without space):

li.highlight{
    background:#FF9900 none repeat scroll 0 0;
}

This will not work(with space):

l         


        
相关标签:
7条回答
  • 2021-01-19 19:51

    spacing is meant to call different elements and not items related to one element. for example .highlight is not a separate element. While calling div table are all seperate elements

    0 讨论(0)
提交回复
热议问题