Skip to main content
Participant
November 13, 2017
Answered

CSS 代码提示和补全问题

  • November 13, 2017
  • 1 reply
  • 370 views

第一行属性经常出现无法补全的情况:

此时回车有时会直接换行,仅仅第一个属性会出现这种情况。

已经输入 background:url 了,第一行提示仍然是取色器:

希望代码提示能更人性化一些,如:常用的属性能靠前显示

希望DW能越来越出色

    This topic has been closed for replies.
    Correct answer pziecina

    The css code hints are behaving correctly.

    The background property is displaying code hints in the correct order according to the W3C css 2.1 specs, in which the color property should be the first item in the list, the properties should be entered in the following order -

    color, image, repeat, attatchment, position.

    font is also a shorthand property.

    widows is a css 3 property -

    https://developer.mozilla.org/en-US/docs/Web/CSS/widows

    1 reply

    pziecina
    pziecinaCorrect answer
    Legend
    November 13, 2017

    The css code hints are behaving correctly.

    The background property is displaying code hints in the correct order according to the W3C css 2.1 specs, in which the color property should be the first item in the list, the properties should be entered in the following order -

    color, image, repeat, attatchment, position.

    font is also a shorthand property.

    widows is a css 3 property -

    https://developer.mozilla.org/en-US/docs/Web/CSS/widows