Last active
December 16, 2015 12:49
-
-
Save AzureKitsune/5436929 to your computer and use it in GitHub Desktop.
A web search-like page test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Search Test</title> | |
<style> | |
body { | |
background: #fff; | |
font-family: 'Source Code Pro', sans-serif; | |
} | |
.button, .searchbox { | |
font-family: sans-serif; | |
font-weight: 100; | |
} | |
.button { | |
font-size: 12px; | |
text-align: center; | |
outline: none; | |
background-repeat: repeat-x; | |
padding: 14px; | |
height: 12px; | |
font-family: sans-serif; | |
font-weight: 100; | |
text-decoration: none; | |
color: white; | |
/* Safari 4-5, Chrome 1-9 */ | |
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#5FA8F9)); | |
/* Safari 5.1, Chrome 10+ */ | |
background: -webkit-linear-gradient(top, #5FA8F9, #1a82f7); | |
/* Firefox 3.6+ */ | |
background: -moz-linear-gradient(top, #5FA8F9, #1a82f7); | |
/* IE 10 */ | |
background: -ms-linear-gradient(top, #5FA8F9, #1a82f7); | |
/* Opera 11.10+ */ | |
background: -o-linear-gradient(top, #5FA8F9, #1a82f7); | |
border-radius: 5px; | |
} | |
.button:hover { | |
/* Safari 4-5, Chrome 1-9 */ | |
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#125BAD), to(#4276AE)); | |
/* Safari 5.1, Chrome 10+ */ | |
background: -webkit-linear-gradient(top, #4276AE, #125BAD); | |
/* Firefox 3.6+ */ | |
background: -moz-linear-gradient(top, #4276AE, #125BAD); | |
/* IE 10 */ | |
background: -ms-linear-gradient(top, #4276AE, #125BAD); | |
/* Opera 11.10+ */ | |
background: -o-linear-gradient(top, #4276AE, #125BAD); | |
} | |
.searchbox { | |
padding: 3px 10px 3px 10px; | |
height: 30px; | |
font-size: 18px; | |
border-radius: 5px; | |
width: 50%; | |
} | |
#searchBar { | |
width: 50%; | |
height: 50px; | |
margin: 0 auto 0 32%; | |
display: block; | |
} | |
#searchBar > * { | |
float: left; | |
margin: 1px; | |
} | |
#searchBarArea { | |
box-shadow: 0px 5px 5px #888888; | |
position: absolute; | |
top: 3px; | |
width: 99%; | |
height: 45px; | |
} | |
#content > * { | |
float: left; | |
} | |
</style> | |
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'> | |
</head> | |
<body> | |
<div id="searchBarArea"> | |
<div id="searchBar"> | |
<input type="text" class="searchbox"></input> | |
<a href="javascript:alert('Test')" class='button'>Search</a> | |
</div> | |
</div> | |
<div id="content"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment