Preventing “double” borders in CSS

后端 未结 17 1589
梦毁少年i
梦毁少年i 2020-12-02 11:49

Say I have two divs next to each other (take https://chrome.google.com/webstore/category/home as reference) with a border.

Is there a way (preferably a CSS trick) to

17条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 12:12

    I was able to achieve it using this code:

    td.highlight {
        outline: 1px solid yellow !important;
        box-shadow: inset 0px 0px 0px 3px yellow;
        border-bottom: 1px solid transparent !important;
    }
    

提交回复
热议问题