如何使绝对定位内部元素不继承父级宽度,而是靠内容自动撑开宽度

white-space:nowrap;

原文地址:https://www.cnblogs.com/lml-lml/p/12721004.html