0
我想知道如何製作它,以便兩個方形文本框彼此並排放置,而不是彼此重疊。如何在HTML/CSS中並排放置文本框
CSS
input {
display: block;
box-sizing: border-box;
}
.textbox {
border: 1px solid #848484;
-moz-border-radius-topleft: 30px;
-webkit-border-top-left-radius: 30px;
border-top-left-radius: 30px;
-moz-border-radius-topright: 30px;
-webkit-border-top-right-radius: 30px;
border-top-right-radius: 30px;
border: 1px solid #848484;
outline:0;
height:25px;
width: 300px;
padding-left:20px;
padding-right:20px;
}
.textbox1 {
border: 1px dotted #000000;
outline:0;
height:25px;
width: 150px;
}
.textbox2 {
border: 1px dotted #000000;
outline:0;
height:25px;
width: 150px;
}
HTML
<input class="textbox"type="text">
<input class="textbox1"type="text">
<input class="textbox2"type="text">