Template:Deadlock Wiki/Header: Difference between revisions

Fixed image not scaling height dynamically
max width on image container
Line 1: Line 1:
<div style="position: relative; width: 100%; overflow: hidden; border-radius: 15px; background-color: black;">
<div style="position: relative; width: 100%; overflow: hidden; border-radius: 15px; background-color: black; max-width: 1240px">
   <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;">
   <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;">
     [[File:Deadlock_steampage_hero.jpeg|alt=wiki hero|frameless|1240px|center|link=]]
     [[File:Deadlock_steampage_hero.jpeg|alt=wiki hero|frameless|1240px|center|link=]]