Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Make Input Group Responsive Input Append (Search And Dropdown With Buttons)

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<style>
@media (max-width: 534px) {
    input#domain {
        width: 100%;
    }

    .input-group .input-group-append {
        width: 100%;
        margin: 0 auto;
    }

    .input-group .input-group-append .btn {
        width: 50%;
        margin-top: 5px;
        border-radius: 3px !important;
    }

    .input-group-append button:last-child {
        margin-left: 0.5rem !important;
    }
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<div class="container">
  <div class="row">
	<div class="col-12">
		<div class="input-group">
            <input type="text" name="domain" id="domain" class="form-control rounded-left" placeholder="Search ...">
                <div class="input-group-append">
					<button class="btn search-btn btn-success btn-hover d-flex align-items-center" type="submit">
						<div class="m-auto ml-1">
							<i class="fa fa-search"></i>&nbsp;Search
						</div>
					</button>
					<button class="btn search-btn btn-warning btn-hover d-flex align-items-center rounded-right" type="submit">
						<div class="m-auto">
							<i class="fa fa-exchange"></i>&nbsp; Transfer
						</div>
                </button>
                </div>
		</div>
     </div>
	</div>
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: change required message html 
Html :: 21 po hiszpnasku 
Html :: visual studio code black mode off 
Html :: create a string of 1024 characters 
Html :: %2f in query 
Html :: embed elm into html 
Html :: render partial view to html string dotnet core 
Html :: java ee static html 
Html :: how to send the data through url in html without using the form 
Html :: visualizar pdf bootstrap 
Html :: alive 
Html :: react native html view 
Html :: How to Disable Auto Period Typing Shortcut on Mac 
Html :: attach a script to a button html 
Html :: gambar internal html 
Html :: Como dividir texto 2 colunas em HTML 
Html :: how to hide youtube watermark from embedded video :2021 
Html :: c# load embedded html document and show in browser 
Html :: html how to make space between words 
Html :: get checkbox value in div TAG 
Html :: boostrap 
Html :: meaning of frenzy 
Css :: make text unselectable css 
Css :: css center div in page 
Css :: make text not selectable 
Css :: Disable highlighting text in CSS. 
Css :: css list remove dot 
Css :: center content 
Css :: css bottom shadow 
Css :: css make long text wrap 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =