Skip to content

Commit

Permalink
Merge pull request #258 from siddhant2002/main
Browse files Browse the repository at this point in the history
Design 36_2023
  • Loading branch information
lmas3009 authored Oct 19, 2024
2 parents cb9010b + cbe87a5 commit dd5c1bf
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 0 deletions.
Binary file added Design 36_2023_part2/Images/img1.png
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 Design 36_2023_part2/Images/img2.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 Design 36_2023_part2/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>Document</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="upper">
<img src="Images/img2.png">
</div>
<div class="lower">
<div class="text">
<p>tstudy</p>
<h1>Upgrade your skills for better future</h1>
<div class="line">
<div class="line1"></div>
<div class="line2"></div>
<div class="line2"></div>
</div>
</div>
<div class="picture">
<img src="Images/img1.png">
</div>
</div>
<div class="foot">
<Submit class="btn">Buy Now</Submit>
<p>Trusted by 15000+ Students around the world</p>
</div>
</div>
</body>
</html>
118 changes: 118 additions & 0 deletions Design 36_2023_part2/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
*
{
margin: 0;
padding: 0;
}

.roboto-regular {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-style: normal;
}

.container
{
font-family: "Roboto", sans-serif;
height: 100vh;
width: 100vw;
overflow: hidden;
}

.upper
{
display: flex;
}

.upper img
{
width: 68%;
margin-top: -15%;
margin-left: -12.5%;
}


.text p
{
font-size: 20px;
font-weight: 400;
}

.text h1
{
position: relative;
font-size: 31px;
top: 10px;
font-weight: 400;
}

.line
{
display: flex;
flex-direction: row;
position: relative;
top: 3%;
gap: 20px;
}

.line1
{
width: 90px;
height: 10px;
background-color: rgb(182, 127, 25);
border-radius: 5px;
}

.line2
{
width: 70px;
height: 10px;
background-color: rgb(182, 127, 25);
border-radius: 5px;
}

.lower
{
margin-left: 1%;
display: flex;
flex-direction: row;
}

.lower img
{
position: relative;
height: 55%;
right: -57%;
top: -26%;
border-radius: 10%;
}

.foot
{
margin-left: 1%;
position: relative;
display: flex;
flex-direction: row;
top: -740px;
gap: 20px;
}

.foot p
{
position: relative;
top: 15px;
font-weight: 500;
}

.btn
{
display: flex;
align-items: center;
justify-content: center;
background-color: black;
color: white;
padding: 20px;
height: 5px;
font-family: "Roboto", sans-serif;
width: 100px;
border-radius: 50px;
}

0 comments on commit dd5c1bf

Please sign in to comment.