.box{ display: flex; flex-direction: column; margin-left: 20px; input{ width: 260px; height: 40px; line-height: 34px; border-radius: 5px; padding-left: 5px; outline: none; border: 1px solid rgb(226, 211, 211); } .diaone{ display: flex; flex-direction: column; button { border: none; color: white; padding: 5px 25px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 8px; outline:0 none !important; } } .diatwo{ margin-top: 20px; display: flex; flex-direction: row; .endtime{ margin-left: 20px; } .datepicker{ height: 44px; border-radius: 5px; } } }