-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 525e44a
Showing
2 changed files
with
229 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
/*https://www.w3schools.com/CSSref/css3_pr_box-sizing.asp*/ | ||
box-sizing: border-box; | ||
font-family:'arial',sans-serif; | ||
} | ||
section{ | ||
position: relative; | ||
width: 100%; | ||
/*https://www.w3schools.com/CSSref/playit.asp?filename=playcss_display&preval=inline-block*/ | ||
display: flex; | ||
/*https://www.w3schools.com/CSSref/playit.asp?filename=playcss_justify-content&preval=flex-start*/ | ||
justify-content: center; | ||
align-items: center; | ||
/*Viewport Height*/ | ||
min-height: 100vh; | ||
} | ||
section header{ | ||
/*https://www.w3schools.com/CSSref/playit.asp?filename=playcss_position*/ | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
display: flex; | ||
justify-content: flex-end; | ||
padding: 20px; | ||
} | ||
section header ul{ | ||
align-items: center; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
section header ul li{ | ||
list-style: none; | ||
margin-left: 20px; | ||
} | ||
section .fa-microphone{ | ||
color: blue; | ||
} | ||
section header ul li a{ | ||
color: #111; | ||
text-decoration: none; | ||
font-size: 13px; | ||
} | ||
section header ul li button{ | ||
color: #fff; | ||
background: #4584ef; | ||
font-size: 14px; | ||
font-weight: 700; | ||
border: none; | ||
border-radius: 3px; | ||
outline: none; | ||
padding: 8px 14px; | ||
cursor: pointer; | ||
|
||
} | ||
section .main{ | ||
width: 580px; | ||
display: flex; | ||
/*https://www.w3schools.com/CSSref/playit.asp?filename=playcss_flex-direction&preval=row*/ | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
section .main .searchBox{ | ||
position: relative; | ||
width: 100%; | ||
margin-top: 20px; | ||
} | ||
section .main .searchBox .search{ | ||
width: 100%; | ||
padding: 13px; | ||
padding-right: 60px; | ||
padding-left: 45px; | ||
border-radius: 30px; | ||
border: 1px solid #ccc; | ||
outline: none; | ||
font-size: 16px; | ||
} | ||
section .main .searchBox .icons{ | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
display: flex; | ||
padding: 12px 20px; | ||
justify-content: space-between; | ||
align-items: center; | ||
pointer-events: none; | ||
} | ||
section .main .buttons{ | ||
margin-top: 20px; | ||
} | ||
section .main .buttons button{ | ||
margin: 0 5px; | ||
padding: 12px 20px; | ||
color: #555; | ||
font-size: 14px; | ||
border: none; | ||
cursor: pointer; | ||
border-radius: 4px; | ||
border: 1px solid transparent; | ||
outline: none; | ||
} | ||
section .main .buttons button:hover{ | ||
border: 1px solid #ccc; | ||
} | ||
section .main .languages{ | ||
display: flex; | ||
margin-top: 30px; | ||
} | ||
section .main .languages li{ | ||
list-style: none; | ||
margin:0 5px; | ||
font-size: 13px; | ||
} | ||
section .main .languages li a{ | ||
text-decoration: none; | ||
color: #1a0dab; | ||
} | ||
section .main .languages li a:hover{ | ||
text-decoration: underline; | ||
} | ||
section .footer{ | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
background: #f2f2f2; | ||
} | ||
section .footer .row{ | ||
padding: 15px 25px; | ||
border-top: 1px solid rgba(0,0,0,0.05); | ||
} | ||
section .footer .row.row2{ | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
section .footer .row.row2 ul{ | ||
display: flex; | ||
} | ||
section .footer .row.row2 ul li{ | ||
list-style:none; | ||
} | ||
section .footer .row.row2 ul li a{ | ||
text-decoration: none; | ||
font-size: 14px; | ||
color: #5f6382; | ||
margin-right: 25px; | ||
} | ||
section .footer .row .row2 u:nth-child(2) li a{ | ||
text-decoration: none; | ||
font-size: 14px; | ||
color: #5f6382; | ||
margin-right: 0px; | ||
margin-left: 25px; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Google Search</title> | ||
<link rel="stylesheet" type="text/css" href="google.css"> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> | ||
|
||
</head> | ||
<body> | ||
<!-- The <section> tag defines a section in a document--> | ||
<section> | ||
<!-- <header> - container for introductory content or a set of navigational links | ||
A <header> element typically contains: | ||
one or more heading elements (<h1> - <h6>) | ||
logo or icon | ||
authorship information --> | ||
|
||
<header> | ||
<ul> | ||
<li><a href="#">Gmail</a></li> | ||
<li><a href="#">Images</a></li> | ||
<li><a href="#"><i class="fa fa-th" aria-hidden="true"></i></a></li> | ||
<li><button>Sign In</button></li> | ||
</ul> | ||
</header> | ||
<div class="main"> | ||
<img class="lnXdpd" alt="Google" height="92" src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"> | ||
<div class="searchBox"> | ||
<input type="text" class="search"> | ||
<div class="icons"> | ||
<div><i class="fa fa-search" aria-hidden="true"></i></div> | ||
<div><i class="fa fa-microphone" aria-hidden="true"></i></div> | ||
</div> | ||
</div> | ||
<div class="buttons"> | ||
<button>Google Search</button> | ||
<button>I'am feeling Lucky;</button> | ||
</div> | ||
<ul class="languages"> | ||
<li>Google offered in:</li> | ||
<li><a href="#">हिन्दी</a></li> | ||
<li><a href="#">বাংলা</a></li> | ||
<li><a href="#">తెలుగు</a></li> | ||
<li><a href="#">मराठी</a></li> | ||
<li><a href="#">தமிழ்</a></li> | ||
<li><a href="#">മലയാളം</a></li> | ||
<li><a href="#">ਪੰਜਾਬੀ</a></li> | ||
</ul> | ||
</div> | ||
<div class="footer"> | ||
<div class="row row1"> | ||
<p class="country">India</p> | ||
</div> | ||
<div class="row row2"> | ||
<ul> | ||
<li><a href="#">Advertising</a></li> | ||
<li><a href="#">Business</a></li> | ||
<li><a href="#">About</a></li> | ||
<li><a href="#">How search works</a></li> | ||
</ul> | ||
<ul> | ||
<li><a href="#">Privacy</a></li> | ||
<li><a href="#">Terms</a></li> | ||
<li><a href="#">Settings</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
</body> | ||
</html> |