• Mont.21.11.23

    5 images au ratio 16/9, dimensionnées en 1200x675px.

    SURVOL



    <div style="width: 1200px; height: 675px; margin: 30px auto; text-align: left; border: 4px ridge white; box-shadow: 4px 4px 8px black; background: white;">
    <img id="hex1" class="hex" src="http://ekladata.com/cDWiiJOSxe3Uprs07CfOfxCbfIY@1200x675.jpg" alt="" />
    <img id="hex2" class="hex" src="http://ekladata.com/Cf7r5g1c4ms2gm9lwgQt3suYdts@1200x675.jpg" alt="" />
    <img id="hex3" class="hex" src="http://ekladata.com/Aa46TDYPEyExsWHZGoQePljpFEg@1200x675.jpg" alt="" />
    <img id="hex4" class="hex" src="http://ekladata.com/Vh2UHXzoUlyrUgnJpHLvCPeZigw@1200x675.jpg" alt="" />
    <img id="hex5" class="hex" src="http://ekladata.com/ddEA6ng8-TVVSuPA1VnMXzVJnVw@1200x675.jpg" alt="" />
    <p id="sv">SURVOL</p>
    </div>

    <style><!--
    .hex{position:absolute; z-index:1; width:450px; height:300px;clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); filter:grayscale(0.5); transition:all 1s;}
    #hex1{transform:translate(0px,0px);}
    #hex2{transform:translate(750px,0px);}
    #hex3{transform:translate(375px,185px);}
    #hex4{transform:translate(0px,375px);}
    #hex5{transform:translate(750px,375px);}
    #sv{position:absolute; z-index:1; width:150px; font-size:30px; transform:translate(525px, 50px);}
    #hex1:hover,#hex2:hover,#hex3:hover,#hex4:hover,#hex5:hover{z-index:5; width:1200px; height:675px; transform:translate(0px,0px); clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 100% 100%, 0% 100%, 0% 50%);filter:grayscale(0);}
    --></style>