Merge pull request #44 from yeoman/input

Switch to input type=search. Fixes #39
This commit is contained in:
Ian Barber 2014-06-09 13:56:40 +01:00
commit 9974ab482b
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ This content is licensed under Creative Commons Attribution 4.0. The full text o
<button class="menu"><img src="images/hamburger.svg"></button> <button class="menu"><img src="images/hamburger.svg"></button>
<h1 class="logo">Web Starter Kit</h1> <h1 class="logo">Web Starter Kit</h1>
<section class="app-bar-actions"> <section class="app-bar-actions">
<input class="search" placeholder="Search"> <input type="search" placeholder="Search">
<button><img src="images/search.svg"></button> <button><img src="images/search.svg"></button>
</section> </section>
</div> </div>

View File

@ -121,7 +121,7 @@ body {
background-color: rgba(255, 255, 255, 0.4); background-color: rgba(255, 255, 255, 0.4);
} }
.search { input[type=search] {
display: none; display: none;
width: 400px; width: 400px;
height: 60px; height: 60px;
@ -175,7 +175,7 @@ body {
clear: both; clear: both;
} }
.search { input[type=search] {
display: block; display: block;
padding-left: 16px; padding-left: 16px;
} }