search

Home  >  Q&A  >  body text

css - Why does the color of the box not change?

body{
    font-size:16px;
    box-sizing:border-box;
    padding:0px;
    margin:0px;
}

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

我想大声告诉你我想大声告诉你2774 days ago768

reply all(5)I'll reply

  • 怪我咯

    怪我咯2017-05-16 16:35:58

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

    reply
    0
  • 迷茫

    迷茫2017-05-16 16:35:58

    What color do you want the box to be?

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 16:35:58

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

    reply
    0
  • 迷茫

    迷茫2017-05-16 16:35:58

    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. . .

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-16 16:35:58

    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

    reply
    0
  • Cancelreply