Skip to content

Commit

Permalink
Merge pull request #88 from preritagrawal06/main
Browse files Browse the repository at this point in the history
Issue 46 resolved
  • Loading branch information
IshitaSatpathy authored Oct 9, 2022
2 parents 41c267c + bdf23c7 commit a90ccdd
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 0 deletions.
Binary file added Prerit Agrawal/issue 4/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Prerit Agrawal/issue 4/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Centering</title>
</head>
<body>
<div class="container">
<img src="image.png">
</div>
</body>
</html>
11 changes: 11 additions & 0 deletions Prerit Agrawal/issue 4/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

.container{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container img{
width: 200px;
height: 130px;
}
1 change: 1 addition & 0 deletions Prerit Agrawal/issue 46
Submodule issue 46 added at 89463c
Binary file added Prerit Agrawal/issue 5/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Prerit Agrawal/issue 5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Centering</title>
</head>
<body>
<div class="container">
<img src="image.png">
</div>
</body>
</html>
14 changes: 14 additions & 0 deletions Prerit Agrawal/issue 5/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*{
margin: 0;
}
.container{
height: 100vh;
margin: 0;
}
.container img{
position: relative;
width: 10%;
height: 10%;
top: 45%;
left: 45%;
}

0 comments on commit a90ccdd

Please sign in to comment.