Skip to content

Commit

Permalink
scale img
Browse files Browse the repository at this point in the history
  • Loading branch information
ttran293 committed Aug 7, 2021
1 parent 47d2b92 commit 731d0e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* { border: 1px solid red; }
/* * { border: 1px solid red; } */

/* --------------- Main Design ---------------*/
body{
Expand All @@ -24,7 +24,10 @@ h2{

}


img{
max-width: 100%;
height: auto;
}
/* --------------- Header Design ---------------*/

.header-Outer{
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1 class="hello">_Hello World_</h1>
<h2 class="name">I'm Thanh Nam Tran</h2>
<h2 class="r">Software Engineer</h2>
</div>
<img class="profile-picture" src="images/circle-cropped.png" alt="Profile Picture" style=width="270px" ; height="270px">
<img class="profile-picture" src="images/circle-cropped.png" alt="Profile Picture" style=width="180px" ; height="180px">
</div>
</div>

Expand Down

0 comments on commit 731d0e6

Please sign in to comment.