I have 2 textboxes (one above another) and I want to remove the gap inbetween both of them. I want to achieve the look of the textboxes in this
dribble
html
<div id="User-Details">
<input type="text" class="textbox-top" id="name" value="Name" />
<input type="text" class="textbox-bottom" id="email" value="Email" />
</div>
css
#User-Details input
{
padding: 5px;
color: #999
}
.textbox-top{
border: 1px solid #aaa;
border-bottom: none;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.textbox-bottom{
border: 1px solid #aaa;
border-top: none;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
Try it like this, it’s pretty easy
Demo
HTML
CSS