css - Why does the color of the box not change?
我想大声告诉你
我想大声告诉你 2017-05-16 16:33:58
0
5
742
body{
    font-size:16px;
    box-sizing:border-box;
    padding:0px;
    margin:0px;
}

这里面的border-box; 没有错吧。
为何vim里面 -box的颜色没变绿?

我想大声告诉你
我想大声告诉你

reply all(5)
刘奇

CSS3 has added new attributes, maybe the software has not kept up with the pace of development.

迷茫

What color do you want the box to be?

仅有的幸福

I realized you were talking about the code color - - ; border-box is correct. I’ve never used vim, so I don’t know

迷茫

Css3 attributes, that editor may not support it or it may not be updated to that extent. Consider using a different editor when writing HTML. . . , ps: After looking at the question for two minutes, I realized what you meant. . .

伊谢尔伦

First of all, this should be caused by the lack of rules in vim's built-in rules, or a configuration error.

Solution 1:

Open Vim’s configuration file, the file path is /etc/virmrc

Enter the command: vi /etc/vimrc

Add new rules to the opened configuration file
Click here for details on how to solve the problem

Solution 2:
Update to the latest version, 2333
(escape

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!