CSS 中的 border
和 outline
属性有什么区别?
如果没有区别,那为什么同一个东西有两个属性呢?
最佳答案
发件人:http://webdesign.about.com/od/advancedcss/a/outline_style.htm
The CSS outline property is a confusing property. When you first learn about it, it's hard to understand how it is even remotely different from the border property. The W3C explains it as having the following differences:
Outlines do not take up space.
Outlines may be non-rectangular.
关于css - outline 和 border CSS 属性有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1158515/