diff options
author | Connor Frank <conjfrnk@gmail.com> | 2024-04-16 01:48:22 +0000 |
---|---|---|
committer | Connor Frank <conjfrnk@gmail.com> | 2024-04-16 01:48:22 +0000 |
commit | a830840d0275919608dc53911a81f4b4d8acb736 (patch) | |
tree | aefc639394b8d872e2f18b5cd127beb2e43c8925 | |
parent | 91467166c9f2f9771822984ff3cd94f675f29d9a (diff) |
responsive image
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | style.css | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -78,7 +78,7 @@ </div> <div class="ico"> <div class="entry-dot"></div> - <img src="assets/schools/mtl.png" max-width=78 max-height=78 alt="MTLSD" /> + <img src="assets/schools/mtl.png" width=78 height=78 alt="MTLSD" class="responsive-image" /> </div> <div class="desc"> Mount Lebanon High School -- Pittsburgh PA @@ -8,6 +8,11 @@ body { color: black; } +.responsive-image { + max-width: 100%; + height: auto; +} + .container { margin-left: auto; margin-right: auto; |