应用 floatarrow-up-right 值,诸如 left 能够让块级元素互相并排成一行,而不是一个堆叠在另一个上面
float
left
div:nth-of-type(1) { width: 48%; float: left; } div:nth-of-type(2) { width: 48%; float: right; }
Last updated 6 years ago