Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个移动应用程序,我的右上角包含一个功能按钮。我需要将状态小部件移动到右下角按钮才能访问页面上的所有功能。
我发现最简单的方法是将以下 CSS 添加到我的标题中:
<style type="text/css"> #velocity-status-widget { top: initial; bottom: 0px; transform: translate(50%, 50%) rotate(45deg) } </style>
关键部分是top: initial为了重置值
top: initial