将元素放置到特定位置

时间:2015-06-22 06:46:16

标签: html css

我只是想要一些帮助。我想将can [:read, :update], Request, :client_id => user.id 元素从显示屏的最右下方移动到大约25%的顶部。下面的CSS代码是否正确?

div

HTML代码

.positioning {
   vertical-align: bottom;
   text-align: right;
}

1 个答案:

答案 0 :(得分:0)



.positioning {
  position: absolute;
  right: 0;
  bottom: 25%;
}

<div class="positioning">
  25% top from Right bottom
</div>
&#13;
&#13;
&#13;