文章目录 前情Code 前情 开发中经常会碰到需要将按钮绝对定位到屏幕最下方,并且居中的需求。 样式如图: Code position: fixed; transform:translateX(-50%);