anchor position的意思|示意
[水运] 锚位
anchor position的用法详解
Anchor position是可以指定容器中元素的位置,具有四个可配置的属性top,right,bottom,left(以英文字母表示),它们定义了容器中元素的位置,并且可以把容器中元素固定在某个位置上,也可以让容器中元素相对容器偏移一定距离。
比如,在css中使用position:absolute,会有一个定位值anchor position,可以设置某个元素的位置,如:
.Element {
position: absolute;
top: 10px;
right: 10px;
}
上面的例子中,anchor position的top、right属性分别设置了该元素的距离容器上顶部和右边的距离,将该元素固定在了容器的固定位置上。
Anchor position还可以设置上下左右四个位置的偏移量,可以让元素相对容器偏移一定距离,如:
.Element {
position: absolute;
top: 10px;
right: -20px;
bottom: -30px;
left: 40px;
}
上面的例子中,anchor position的属性分别设置了该元素距离容器上顶部、右边、下面和左边的距离,使元素相对容器偏移了一定距离。
anchor position相关短语
1、 anuxiliary anchor position 助结合位点
2、 check anchor position 检查锚位
anchor position相关例句
To the plan anchoring zone proposed the district anchors, to fully use the anchor position.
对规划的锚地提出分区锚泊, 以便充分利用锚位.
互联网
I suppose you're here to gloat about the anchor position . Go ahead.
我想你是回来取代我的主持人身份的吧,它们是你的了.
互联网