-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65bdb56
commit e923f3c
Showing
5 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|