防止“双重"欺诈行为CSS中的边框 [英] Preventing "double" borders in CSS
本文介绍了防止“双重"欺诈行为CSS中的边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
说我彼此相邻有两个div(采用 https://chrome.google.com/webstore/category/home 作为参考).
Say I have two divs next to each other (take https://chrome.google.com/webstore/category/home as reference) with a border.
是否有一种方法(最好是CSS技巧)来防止我的div看起来像是带有双边框?看看这张图片,以更好地理解我的意思:
Is there a way (preferably a CSS trick) to prevent my divs from appearing like having a double border? Have a look at this image to better understand what I mean:
您可以看到两个div相交的地方,看起来好像有一个双边框.
You can see that where the two divs meet, it appears like they have a double border.
推荐答案
#divNumberOne { border-right: 0; }
这篇关于防止“双重"欺诈行为CSS中的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文