html,body{ background-color: rgb(254,254,254); } .container{ width: 100vw; min-height: 100vh; position: relative; overflow: hidden; padding: 0; margin: 0; } .top{ width: 100vw; position: relative; font-size: 0; } .top_img_card_con{ width: 100vw; height: 46vw; border-bottom: 2.5vw solid #EEEEEE; } .top_img_card{ width: 100%; height: 100%; } .top_img_avatar{ position: absolute; top: 9vw; left: 9vw; width: 17.5vw; height: 17.5vw; border-radius: 50%; background-color: white; } .top_name_con{ width: 50%; height: 15vw; position: absolute; top: 13vw; left: 32vw; color: white; font-size: 3.6vw; line-height: 6.5vw; font-weight: 300; display: flex; flex-direction: column; letter-spacing: 1px; } .top_name_con>span:nth-child(2){ display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; } .top_name_grade{ width: 2.5vw; height: 3vw; } .top_name_con>span>span{ padding-left: 5px; } .top_card_num{ font-size: 12px; position: absolute; top: 21vw; right: 3vw; color: white; font-weight: 300; transform: scale(0.8); letter-spacing: 2px; text-align: right; } /*-----------------*/ .center{ position: absolute; width: 78vw; height: 17vw; left: 11vw; bottom: -7.25vw; border-radius: 1.5vw; /*border: 1px solid #DDDDDD;*/ box-shadow: 0 1px 1px 1px #DDDEEF; background-color: rgb(254,254,254); display: flex; flex-direction: row; justify-content: space-around; align-items: center; } .center>div{ display: flex; flex: 1; height: 10vw; flex-direction: column; text-align: center; line-height: 5.5vw; letter-spacing: 1px; } .center>div:nth-child(1){ border-right: 1px solid #EEEEEE; } .center>div>span:nth-child(1){ margin-top: 0.5vw; font-size: 4vw; color: black; } .center>div>span:nth-child(2){ font-size: 3.5vw; color: #999999; } /*---------------*/ .bottom{ width: 90vw; padding: 0 5vw; } .onlinepay_con{ width: 90vw; height: 26vw; border-bottom: 1px solid #EEEEEE; position: relative; } .onlinepay_con>span{ position: absolute; letter-spacing: 1px; padding: 2.5vw 9.5vw 2vw; color: white; border-radius: 4vw; font-size: 3.5vw; line-height: 3.5vw; bottom: 5vw; left: 28.25vw; background-color: #ff877e; } .bottom_list{ flex: 1; height: 12vw; display: flex; border-bottom: 1px solid #EEEEEE; flex-direction: row; align-items: center; } .bottom_img{ width: 5vw; height: auto; } .bottom_list>span{ padding-left: 4vw; font-size: 3.8vw; color: #666; }