Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramakantsahoo authored Oct 11, 2022
1 parent 019d614 commit b02868c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added Ramakant/Center-img-No-flex/cs.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Ramakant/Center-img-No-flex/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
img{
width: 500px;
height: 400px;
}
.centered-img{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}

1 comment on commit b02868c

@Ramakantsahoo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue #5 resolved

Please sign in to comment.