float元素的初心是为了图片的环绕样式,CSS可以设置元素(element)在容器(container)中的位置。
<div class="right">This will be placed in the right of the parent container.</div>
.right {
float:right;
}
Just want to spend this life happier.
float元素的初心是为了图片的环绕样式,CSS可以设置元素(element)在容器(container)中的位置。
<div class="right">This will be placed in the right of the parent container.</div>
Comments
Post a Comment