.container { position: relative; width: 278px; height: 250px; background: url('./icon_bg.png') no-repeat; background-size: 100%; display: flex; flex-direction: column; padding-top: 50px; } .close { position: absolute; right: 0; top: 30px; width: 24px; height: 24px; } .title { margin-left: 14px; width: 80px; display: block; } .content { position: relative; padding: 33px 13px 20px 13px; font-size: 13px; font-weight: 400; color: #333333; line-height: 18px; z-index: 10; } .btns { width: 159px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; font-size: 16px; color: #777; line-height: 22px; text-align: center; img { width: 100%; margin-bottom: 9px; } }