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