-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need to adjust the rectangle #5664
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,50 @@ | |
/> | ||
</head> | ||
<body> | ||
<h1>Moyo header</h1> | ||
<header class="container"> | ||
<img src="./images/logo.png" | ||
class="img" | ||
alt="moyologo"> | ||
|
||
<nav class="nav"> | ||
<ul class="nav_list"> | ||
<div src="./images/Rectangle 2.svg" | ||
class="rect" | ||
alt="line">> | ||
<ul class="apple is-active" | ||
href="apple.html">APPLE | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
</div> | ||
<ul class="sams" | ||
href="samsung.html">SAMSUNG | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the previous comment, the |
||
|
||
<ul class="smart" | ||
href="smartphones.html">SMARTPHONES | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
<ul class="lapcom" | ||
data-qa="hover" | ||
href="laptops&computers.html">LAPTOPS & COMPUTERS | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
<ul class="gadg" | ||
href="gadgets.html">GADGETS | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace the |
||
|
||
<ul class="tab" | ||
href="tablets.html">TABLETS | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
<ul class="ph" | ||
href="photo.html">PHOTO | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace the |
||
|
||
<ul class="vi" | ||
href="video.html">VIDEO | ||
</ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
</ul> | ||
</nav> | ||
</header> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
body { | ||
margin: 0; | ||
} | ||
|
||
@font-face { | ||
font-family: Roboto; | ||
src: url(https://fonts.google.com/specimen/Roboto); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
.container{ | ||
display:flex; | ||
flex-direction: row; | ||
font-family: system-ui, Roboto, sans-serif; | ||
font-size: 12px; | ||
height: 60px; | ||
width: 1024px; | ||
background-color: #fff; | ||
} | ||
|
||
.img { | ||
height: 40px; | ||
width: 40px; | ||
margin-top: 10px; | ||
margin-left: 50px; | ||
} | ||
|
||
.nav{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.nav_list{ | ||
display: flex; | ||
} | ||
|
||
.rect{ | ||
background-position: bottom; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
<div>
element should not have asrc
attribute. If you intend to display an image, use an<img>
tag instead.