Skip to content

Commit

Permalink
feat: added comparison images
Browse files Browse the repository at this point in the history
  • Loading branch information
ongsici committed Oct 7, 2024
1 parent eb0635d commit fecf519
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
text-align: center;
margin-top: 50px;
}
{
box-sizing: border-box;
}
.column {
float: left;
width: 50%;
padding: 10px;
height:300px;
}



.row:after {
content: "";
display: table;
Expand All @@ -30,13 +33,13 @@ <h1 style="background-color:powderblue;">Hello World</h1>

<h2>Spot the difference!</h2>
<div class="row">
<div class="column" style="background-color:#aaa;">
<h2>Column 1</h2>
<p>Some text..</p>
<div class="column">
<h2>Iamge 1</h2>
<img src="static/winnie_difference_1.jpg" alt="image1" width="200">
</div>
<div class="column" style="background-color:#bbb;">
<h2>Column 2</h2>
<p>Some text..</p>
<div class="column">
<h2>Image 2</h2>
<img src="static/winnie_difference_2.jpg" alt="image2" width="200">
</div>
</div>

Expand Down
Binary file added static/winnie_difference_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/winnie_difference_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fecf519

Please sign in to comment.