.student_id_card_wrap { position: relative; width: 204px; height: 323px; margin: auto; } img.student_card { width: 100%; } .student_data { position: absolute; text-align: center; width: 100%; top: 65px; } .student_card_img img { width: 60px; height: 60px; border-radius: 40px; margin: 5px; display: none; } .student_card_img h3 { font-size: 15px; margin-top: 2px; color: #032da1; margin-bottom: 3px; font-weight: bold; } .student_card_img p { font-size: 14px; color: #032da1; margin: 0px; } .QR_code img { width: 66px; height: 66px; margin: 5px; } .QR_code p { font-size: 14px; margin: 5px; }