为啥我这个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) 指定框的浮动方式。它可以为任何元素设置,但只适用于生成非绝对定位的框的元素。
由于浮动,内联块被忽略。如果“float”的值不是“none”,则框将被浮动,“display”将被视为“block”css(propertyignoredduetodisplay)
页:
[1]