79454222

Date: 2025-02-20 10:57:07
Score: 0.5
Natty:
Report link
header {
position: relative;
background-color: black;
height: 35vh;
min-height: 25rem;
width: 100%;
overflow: hidden;
}

header .container {
position: relative;
z-index: 2;
}

header img {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Claire Poulton