Skip to content

Commit

Permalink
updates to css
Browse files Browse the repository at this point in the history
  • Loading branch information
jasheloper committed Aug 3, 2024
1 parent 99591d3 commit 17b2751
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ body {
.full-img {
position: relative;
display: block;
max-width: 640px;
max-height: 480px;
width: 100%; /* Change this to 100% */
max-width: 640px; /* Keep max-width to limit the size */
height: auto; /* Adjust height to maintain aspect ratio */
}



.full-img img {
max-width: 100%;
border-radius: 8px;
Expand All @@ -46,12 +48,13 @@ body {
position: absolute;
top: 0;
left: 0;
width: 642px;
height: 430px;
background-color: rgba(0,0,0,0);
width: 100%; /* Change this to 100% */
height: 100%; /* Change this to 100% */
background-color: rgba(0, 0, 0, 0);
border-radius: 8px;
}


button {
border: 0;
background: rgba(150,150,150,0.6);
Expand Down

0 comments on commit 17b2751

Please sign in to comment.