diff --git a/public/css/styles.css b/public/css/styles.css index 949d20c..0a396b9 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -238,3 +238,11 @@ p { ::-webkit-scrollbar-track { background-color: #121212; /* Color of the scrollbar background/track */ } + +/* Responsive Image Styling */ +img { + max-width: 100%; /* Ensures the image cannot be larger than its container */ + height: auto; /* Maintains the aspect ratio */ + display: block; /* Removes any inline spacing */ + object-fit: contain; /* Ensures the image scales within its container */ +} \ No newline at end of file