Yupoo 发表于 2019-4-14 18:16:32

为啥我这个vscode中出现这个!

Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.

inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'css(propertyIgnoredDueToDisplay)

不二如是 发表于 2019-4-15 09:51:12

指定框的浮动方式。它可以为任何元素设置,但只适用于生成非绝对定位的框的元素。

由于浮动,内联块被忽略。如果“float”的值不是“none”,则框将被浮动,“display”将被视为“block”css(propertyignoredduetodisplay)
页: [1]
查看完整版本: 为啥我这个vscode中出现这个!