Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一种简单的“正确”方式将标签从输入元素的侧面移动到顶部?如果我在标签中禁用它,它会进入顶部,但这似乎是个骗局。
如果您的标签不在 a 中,.ui-field-contain则它的样式block与inline-block.
.ui-field-contain
block
inline-block