Skip to content

Commit

Permalink
E-Cell-VSSUT#5 resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Anugya12 committed Oct 25, 2022
1 parent dabad6d commit ff99743
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
Binary file added Anugya#5/img.jpg
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 Anugya#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="style.css">
<title>Center Image</title>
</head>
<body>
<div class="box">
<img src="img.jpg">
</div>
</body>
</html>
13 changes: 13 additions & 0 deletions Anugya#5/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*{
margin: 0;
padding: 0;
}
.box{
display: grid;
place-items: center;
height:100vh;
}
img{
width:350px;
height:230px;
}

0 comments on commit ff99743

Please sign in to comment.