Why does this work?
And this doesn\'t? < 7条回答 佛祖请我去吃肉 (楼主) 2020-12-05 22:56 Like this: border: 1px solid black; Why it didn't work? because: Always declare the border-style (solid in my example) property before the border-width property. An element must have borders before you can change the color. 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
And this doesn\'t?
< 7条回答 佛祖请我去吃肉 (楼主) 2020-12-05 22:56 Like this: border: 1px solid black; Why it didn't work? because: Always declare the border-style (solid in my example) property before the border-width property. An element must have borders before you can change the color. 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Like this:
border: 1px solid black;
Why it didn't work? because:
Always declare the border-style (solid in my example) property before the border-width property. An element must have borders before you can change the color.