Search Bar Archives - csshint - A designer hub https://csshint.com/tag/search-bar/ Fri, 30 Oct 2020 06:12:41 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.4 Bootstrap search bar https://csshint.com/bootstrap-search-bar/ Fri, 30 Oct 2020 06:12:11 +0000 http://csshint.com/?p=4464 Collection of Bootstrap 4 search bar variants: Custom rounded search bars with input group, Underlined search bars , Underlined search bars with buttons, Default search bars with input group, Default search inputs with colorful borders, Snippet by Bootstrapious.

The post Bootstrap search bar appeared first on csshint - A designer hub.

]]>
Collection of Bootstrap 4 search bar variants: Custom rounded search bars with input group, Underlined search bars
, Underlined search bars with buttons, Default search bars with input group, Default search inputs with colorful borders,
Snippet by Bootstrapious.

Bootstrap search bar

Bootstrap search bar


The post Bootstrap search bar appeared first on csshint - A designer hub.

]]>
Search bar HTML/CSS https://csshint.com/search-bar-html-css/ Sun, 27 Sep 2020 09:29:15 +0000 http://csshint.com/?p=3944 Check out This Simple search bars html/css Designed by Emily Huang. HTML [code language=”html”] <div class="wrap"> <div class="search"> <input type="text" class="searchTerm" placeholder="What are you looking for?"> <button type="submit" class="searchButton"> <i class="fa fa-search"></i> </button> </div> </div> [/code] CSS / SCSS [code language=”css”] @import url(https://fonts.googleapis.com/css?family=Open+Sans); body{ background: #f2f2f2; font-family: ‘Open Sans’, sans-serif; } .search { width: 100%; […]

The post Search bar HTML/CSS appeared first on csshint - A designer hub.

]]>
Check out This Simple search bars html/css Designed by Emily Huang.

Search bar HTML CSS

Search bar HTML CSS


HTML

[code language=”html”]

<div class="wrap">
<div class="search">
<input type="text" class="searchTerm" placeholder="What are you looking for?">
<button type="submit" class="searchButton">
<i class="fa fa-search"></i>
</button>
</div>
</div>

[/code]

CSS / SCSS

[code language=”css”]

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body{
background: #f2f2f2;
font-family: ‘Open Sans’, sans-serif;
}

.search {
width: 100%;
position: relative;
display: flex;
}

.searchTerm {
width: 100%;
border: 3px solid #00B4CC;
border-right: none;
padding: 5px;
height: 20px;
border-radius: 5px 0 0 5px;
outline: none;
color: #9DBFAF;
}

.searchTerm:focus{
color: #00B4CC;
}

.searchButton {
width: 40px;
height: 36px;
border: 1px solid #00B4CC;
background: #00B4CC;
text-align: center;
color: #fff;
border-radius: 0 5px 5px 0;
cursor: pointer;
font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
width: 30%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

[/code]

Simple Search Bar

The post Search bar HTML/CSS appeared first on csshint - A designer hub.

]]>