Tried recreating the google page. Had a little trouble with the buttons and the footer. Please crituque
Created
January 30, 2015 06:55
-
-
Save marcusp619/4fcd89581a45f183bc30 to your computer and use it in GitHub Desktop.
Google HomePage
This file contains 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
<div class="wrapper"> | |
<body> | |
<header> | |
<nav> | |
<ul> | |
<a href="#">+mark</a> | |
<a href="#">Gmail</a> | |
<a href="#">Images</a> | |
</ul> | |
</nav> | |
</header> | |
<div class="logo"> | |
<img src="https://www.google.com/images/srpr/logo11w.png" alt="Google Logo" /> | |
</div> | |
<div class="search-bar"> | |
<form action="http://www.google.com"><input type="search" size="60" placeholder="Say 'OK Google'" class="search-bar"/></form> | |
</div> | |
<div class="google-button"> | |
<button>Google Search</button> | |
<button>I'm Feeling Lucky</button> | |
</div> | |
</div> | |
<footer> | |
<div class="left-side"> | |
<a href="#">Advertising</a> | |
<a href="#">Business</a> | |
<a href="#">About</a> | |
</div> | |
<div class="right-side"> | |
<a href="#">Privacy</a> | |
<a href="#">Terms</a> | |
<a href="#">Settings</a> | |
</div> | |
</footer> | |
</body> | |
</div> |
This file contains 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
.wrapper{ | |
max-width: 100%; | |
} | |
header { | |
float: right; | |
} | |
.logo{ | |
width:50%; | |
margin: 0px auto; | |
padding-top: 20%; | |
padding-bottom: 20px; | |
} | |
a{ | |
color: rgba(0,0,0,1); | |
text-decoration: none; | |
margin: 5px | |
} | |
form { | |
width: 50%; | |
margin: 0 150px 10px auto; | |
} | |
.google-button{ | |
padding-bottom: 200px; | |
text-align: center; | |
height: 32px; | |
font-weight: bold; | |
background-color: rgba(0,0,0,0.); | |
} | |
footer { | |
right: 0; | |
bottom: 0; | |
left: 0; | |
padding: 10px; | |
background-color: #efefef; | |
text-align: center; | |
} | |
.left-side{ | |
float: left; | |
} | |
.right-side{ | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment