Skip to content

Commit

Permalink
Fix pics in line with flex
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainmahwash committed Apr 25, 2024
1 parent 6a05a0c commit e8408a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<h1 style=" background-color:rgb(150, 47, 240); color: rgb(255, 251, 0)">
Hallo, ich bin Mrs Lemon
</h1>
<div class="inLinePics">
<img
src="Resources/Rabbit_1.jpg"
alt="Ginger cat"
Expand All @@ -33,6 +34,7 @@ <h1 style=" background-color:rgb(150, 47, 240); color: rgb(255, 251, 0)">
src="Resources/gänseblümchen4.png"
alt="Ginger cat"
class="photo1">
</div>



Expand Down
4 changes: 4 additions & 0 deletions my_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ ul{
margin-right: 200;
}

.inLinePics {
display: flex;
flex-direction: row;
}

.photo {
text-align: center;
Expand Down

0 comments on commit e8408a1

Please sign in to comment.