<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="https://kit.fontawesome.com/e264982194.js" crossorigin="anonymous"></script>
</head>
<body>
<div>
<header class="weegle">
<img src="https://user-images.githubusercontent.com/61774575/95163201-34411c00-075c-11eb-9987-d6301acb4dab.png">
</header>
<div class="search">
<input class="search-box" type="text">
<div class="icon-box1">
<i class="fas fa-search"></i>
</div>
<div class="icon-box2">
<i class="fas fa-keyboard"></i>
<i class="fas fa-microphone"></i>
</div>
</div>
<div class="search-button">
<input class="search-button" type="button" value="Weegle 검색">
<input class="search-button" type="button" value="i'm feeling lucky">
</div>
<div class="a-link">
<p>Weegle 제공 서비스 : <a href="http://www.google.com">English</a></p>
</div>
</div>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
>
.weegle {
display: flex;
justify-content: center;
}
img{
width: 350px;
}
.search {
position: relative;
display: flex;
justify-content: center;
width: 600px;
margin: 0 auto;
}
.search-box{
border-radius: 30px;
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
border: solid #efefef;
}
.icon-box1 {
position: absolute;
left: 24px;
top: 11px;
color: #808080;
}
.icon-box2 {
position: absolute;
right: 24px;
top: 11px;
}
.fa-microphone {
margin-left: 10px;
color: #5086ec;
}
.search-button {
display: flex;
justify-content: center;
margin-top: 10px;
}
.search-button input {
border-radius: 5px;
color: #6c6e72;
border: none;
padding: 10px;
margin: 0 5px;
}
.a-link {
margin-top: 20px;
display: flex;
justify-content: center;
font-size: 12px;
}