UltraEdit Website Clone(Part 1- Nav Bar)
EXERCISE ON CSS
EXERCISE VI
HTML Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ultra edit clone</title>
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans:wght@300&family=Poppins:wght@100;300&display=swap');
</style>
<style>
* {
margin: 0;
padding: 0;
}
a {
color: inherit;
text-decoration: none;
font-size: x-small;
font-family: 'Merriweather', serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Poppins', sans-serif;
}
header>.items {
display: flex;
justify-content: flex-end;
align-items: center;
position: relative;
bottom: 20px;
right: 100px;
}
header>.logo {
display: flex;
position: relative;
top: 10px;
left: 120px;
}
.logo>img {
width: 120px;
}
li>a>img {
width: 6px;
}
.items {
display: flex;
justify-content: flex-end;
}
ul {
display: flex;
gap: 30px;
list-style-type: none;
}
main {
position: relative;
left: 20vw;
width: 60vw;
border: 2px solid rgb(255, 255, 255);
text-align: center;
}
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans:wght@300&family=Poppins:wght@300&display=swap');
.dnl>p {
font-size: xx-large;
font-family: 'Merriweather', serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Poppins', sans-serif;
}
.dnl {
display: flex;
justify-content: center;
align-items: center;
padding-top: 45px;
}
.dnl>p>a>img {
max-width: 100%;
height: auto;
}
.about {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding-top: 20px;
}
.about>p {
font-size: medium;
font-family: 'Merriweather', serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Poppins', sans-serif;
}
.button {
padding-top: 20px;
}
.button>button {
font-weight: bolder;
font-size: x-small;
color: white;
border: none;
border-radius: 2pt;
background-color: rgb(11, 173, 173);
padding: 10px;
}
</style>
<body>
<header>
<div class="logo"><img src="https://www.ultraedit.com/wp-content/uploads/2023/01/Dark-logo.png" alt="UltraEdit">
</div>
<div class="items">
<ul>
<li><a href="Products">Products<img
src="https://cdn3.iconfinder.com/data/icons/ui-fundamentals/100/UI-F-33-512.png"
alt="down icon"></a></li>
<li><a href="Pricing">Pricing<img
src="https://cdn3.iconfinder.com/data/icons/ui-fundamentals/100/UI-F-33-512.png"
alt="down icon"></a></li>
<li><a href="Resources">Resources<img
src="https://cdn3.iconfinder.com/data/icons/ui-fundamentals/100/UI-F-33-512.png"
alt="down icon"></a></li>
<li><a href="about us">About us<img
src="https://cdn3.iconfinder.com/data/icons/ui-fundamentals/100/UI-F-33-512.png"
alt="down icon"></a></li>
<li><a href="English" "><img
src="
https://media.istockphoto.com/vectors/translate-icon-vector-translation-from-japanese-to-english-flat-icon-vector-id831648336?k=6&m=831648336&s=612x612&w=0&h=Q9ycZddEGJDkACb7RV51kjallp3TiXzePN0Pjn9WxI4="
alt=" change-language" style="width: 24px;"></a></li>
</ul>
</div>
</header>
<main>
<div class="dnl">
<p>Download <b style="font-weight: bold;">UltraEdit</b> for Windows <a href="gotohel"><img decoding="async"
src="https://www.ultraedit.com/wp-content/uploads/2022/10/Reviews.png" width="112" height="32"
alt="Reviews" class="wp-image-1613 alignnone size-full entered lazyloaded"
data-lazy-src="https://www.ultraedit.com/wp-content/uploads/2022/10/Reviews.png"
data-ll-status="loaded"></a></p>
</div>
<div class="about">
<p>Download and try UltraEdit before you buy it! This download includes the full Windows version of the text
editor.</p>
</div>
<div class="button">
<button>DOWNLOAD MAC OR LINUX VERSION</button>
</div>
</main>
</body>
</html>
Comments
Post a Comment