Skip to content

Commit 5b5e370

Browse files
mobileApp
0 parents  commit 5b5e370

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

img/logo.png

44.2 KB
Loading

index.html

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Food recipe</title>
8+
<link rel="stylesheet" href="style.css">
9+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
10+
rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
11+
crossorigin="anonymous">
12+
</head>
13+
<body>
14+
15+
<div id="navbar">
16+
<div id="logo">
17+
<img id="logoImg" src="img/logo.png">
18+
</div>
19+
<div id="search">
20+
<input id="searchInp" type="text">
21+
<button id="searchBtn">
22+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search"
23+
viewBox="0 0 16 16">
24+
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0
25+
1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
26+
</svg>
27+
</button>
28+
</div>
29+
</div>
30+
31+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
32+
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
33+
crossorigin="anonymous"></script>
34+
</body>
35+
</html>

style.css

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
}
5+
6+
#navbar{
7+
width: 100%;
8+
margin-top: 10px;
9+
display: flex;
10+
justify-content: space-around;
11+
}
12+
13+
#logo{
14+
width: 10%;
15+
}
16+
17+
#logoImg{
18+
width: 100%;
19+
}
20+
21+
#searchInp{
22+
height: 90%;
23+
padding: 5px;
24+
border: none;
25+
border-radius: 5px;
26+
background-color: #ffcc89;
27+
}
28+
29+
#searchBtn{
30+
border: none;
31+
background-color: transparent;
32+
}

0 commit comments

Comments
 (0)