我正在使用 Microsoft Visual Studio 2012 来编辑我的 CSS。当我想使用浅灰色时,IntelliSense 建议我这样做:
有什么区别吗?
最佳答案
根据 CSS3 Color ,没有区别:
┌────────────┬─────────┬─────────────┐
│ Color name │ Hex rgb │ Decimal │
├────────────┼─────────┼─────────────┤
│ lightgray │ #d3d3d3 │ 211,211,211 │
│ lightgrey │ #d3d3d3 │ 211,211,211 │
└────────────┴─────────┴─────────────┘
关于html - CSS中的 `lightgrey`和 `lightgray`有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31359696/