200px
This commit is contained in:
parent
5fc261c3c5
commit
5b74a777cf
1 changed files with 3 additions and 2 deletions
|
|
@ -52,10 +52,11 @@ nav a:active {
|
||||||
|
|
||||||
header .banner {
|
header .banner {
|
||||||
max-width: 100%; /* Ensures the image is never larger than its container */
|
max-width: 100%; /* Ensures the image is never larger than its container */
|
||||||
height: 200; /* Maintains the aspect ratio */
|
max-height: 200px; /* Maximum height for the image */
|
||||||
display: block; /* Prevents inline default spacing */
|
display: block; /* Prevents inline default spacing */
|
||||||
margin: 0 auto; /* Centers the image within the header */
|
margin: 0 auto; /* Centers the image within the header */
|
||||||
}
|
width: auto; /* Adjusts the width to maintain the aspect ratio */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
header, main, footer {
|
header, main, footer {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue