.body{ z-index: 1000; top: 0; right: 0; position: fixed; left: 0; display: flex; flex-direction: column; padding-top: 24px; } .img{ width: 200px; height: 200px; } .msg{ } .btn{ }