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.
我有一个<header>20
<header>
<li></li>'s
在其中,可以追溯到 20 年前。在标题中,我想显示 100% 的屏幕宽度,2012 年<li>在最右边。有什么简单的方法可以做到这一点?我真的需要它在一条长的水平线上,因为我将在左侧悬停时创建一个视差效果。
<li>
li { display: inline-block; width: 5%; text-align: center; }