JSFiddle - React, Tailwind, and code Playground
HTML
<section id="hud">
<a class="left" href="contact.php">
<span class="hud-text"><span>Nous contacter <i class="fa fa-arrow-circle-right"></i></span></span>
</a>
<a class="right" href="equipe.php">
<span class="hud-text"><span>Rencontrer<br/> notre équipe <i class="fa fa-arrow-circle-right"></i></span></span>
</a>
<a class="center" href="specialites.php">
<span class="hud-text"><span>Parcourir<br/> nos spécialités <i class="fa fa-arrow-circle-right"></i></span></span>
</a>
</section>
CSS
#hud {
display: block;
position: relative;
width: 90%;
max-width: 1024px;
margin: auto;
padding: 2em 0;
}
#hud a {
display: block;
position: relative;
margin: auto;
width: 100%;
height: 125px;
font-size: 150%;
overflow: hidden;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
white-space: nowrap;
background: red;
}
#hud a:hover {
box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
transform: scale(1.05);
-webkit-transform: scale(1.05);
-moz-transform: scale(1.05);
-o-transform: scale(1.05);
}
#hud img {
position: absolute;
display: block;
margin: auto;
min-width: 100%;
min-height: 100%;
object-fit: cover;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
}
#hud a:hover img {
object-fit: cover;
transform: scale(1.3);
-webkit-transform: scale(1.3);
-moz-transform: scale(1.3);
-o-transform: scale(1.3);
filter: blur(3px);
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-o-filter: blur(3px);
-ms-filter: blur(3px);
}
.hud-text {
display: table;
position: absolute;
width: 100%;
height: 100%;
}
.hud-text span {
display: table-cell;
position: relative;
text-align: center;
vertical-align: middle;
text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
color: white;
transform: translateZ(0);
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-o-transform: translateZ(0);
transition-property: color;
-webkit-transition-property: color;
-moz-transition-property: color;
-o-transition-property: color;
}
.hud-text span:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(32, 183, 201, 1);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset;
-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset;
-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset;
...