Skip to content
GitLab
Menu
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ahmet Adem
food-app
Commits
5d5fff28
Commit
5d5fff28
authored
10 months ago
by
Ahmet Adem
Browse files
Options
Download
Email Patches
Plain Diff
feature: created navbar for webpage
parent
0da7c728
main
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
index.html
+16
-1
index.html
style.css
+38
-0
style.css
with
54 additions
and
1 deletion
+54
-1
index.html
+
16
-
1
View file @
5d5fff28
...
...
@@ -6,5 +6,20 @@
<link
rel=
"stylesheet"
href=
"./style.css"
/>
<title>
Document
</title>
</head>
<body></body>
<body>
<div
class=
"menu"
>
<div
class=
"inner"
>
<a
href=
"./index.html"
class=
"logo"
>
<img
src=
"./images/logo.jpg"
alt=
"logo"
/></a>
<ul>
<li><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#"
>
About us
</a></li>
<li><a
href=
"#"
>
Articles
</a></li>
<li><a
href=
"#"
>
Contact
</a></li>
</ul>
</div>
</div>
</body>
</html>
This diff is collapsed.
Click to expand it.
style.css
+
38
-
0
View file @
5d5fff28
...
...
@@ -22,3 +22,41 @@ ul {
img
{
max-width
:
100%
;
}
.inner
{
width
:
90%
;
margin-right
:
auto
;
margin-left
:
auto
;
}
.menu
{
background-color
:
rgb
(
195
,
141
,
150
);
padding
:
5px
0
;
}
.menu
.inner
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.menu
.inner
.logo
{
display
:
inline-block
;
width
:
70px
;
}
.menu
ul
{
display
:
flex
;
padding-left
:
0
;
margin-bottom
:
0
;
list-style
:
none
;
}
.menu
ul
li
:not
(
:last-child
)
{
margin-right
:
30px
;
}
.menu
ul
li
a
{
text-decoration
:
none
;
color
:
white
;
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets