Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath200415 authored Mar 8, 2024
1 parent 65bdb56 commit e923f3c
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 0 deletions.
Binary file added assets/images/beautiful.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/construction.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random</title>
<link rel="stylesheet" href="./style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet">
</head>

<body>
<div class="main">
<img class="logo" src="./assets/images/logo.png" alt="logo">
<h1>We are a <span class="creative">Creative</span></br>Design Agency</h1>
<div class="left card"><img class="tile-image" src="./assets/images/beautiful.jpg" alt="hand and flower in water">
<h2 class="card-title">Beauty</h2>
<p class="card-text">We strive to create the most beautiful websites for all your needs. Working closely with you
to
design and
develop an amazing website for your business.</p>
</div>

<div class="right card"><img class="tile-image" src="./assets/images/construction.jpg" alt="metal structure">
<h2 class="card-title">Construction</h2>
<p>Built by our team of professional developers, we ensure the most rigourous and modern websites. Built from
scratch using HTML and CSS. Only the best for you.</p>
</div>

</div>
<footer>
<p>Create. Develop. Design.</p>
</footer>
</body>

</html>
67 changes: 67 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
body {
font-family: "Poppins", sans-serif;
margin: 50px 50px 0px 50px;
background-color: #faf9f6;
display: flex;
flex-direction: column;
min-height: 95vh;
}
.creative{
color:midnightblue;
}
.main {
flex: 1;
}
.tile-image{
height: 200px;
margin-right: 50px;
float:left;
}
.left{
float:left;

}

.right{
float:right;
}


h1 {
font-size: 5rem;
}
.card{
width:45%;
}
@media(max-width:680px){
.logo{
width:100px;
}
h1 {
font-size: 3.5rem;
text-align: center;
}
.card{
width:100%;
display:block;
margin-bottom:30px;
text-align: justify;

}
.card img{
margin-bottom: 10px;
width: 100%;
display: inline;
object-fit: cover;

}



}

footer {
text-align: right;
color: midnightblue;
}

0 comments on commit e923f3c

Please sign in to comment.