<div class="sibling-fade">
  <a href="#">q</a>
  <a href="#">w</a>
  <a href="#">e</a>
  <a href="#">r</a>
  <a href="#">t</a>
  <a href="#">y</a>
  <a href="#">u</a>
  <a href="#">i</a>
  <a href="#">o</a>
  <a href="#">p</a>
  <a href="#">a</a>
  <a href="#">s</a>
  <a href="#">d</a>
  <a href="#">f</a>
  <a href="#">g</a>
  <a href="#">h</a>
  <a href="#">j</a>
  <a href="#">k</a>
  <a href="#">l</a>
  <a href="#">< enter</a>
  <a href="#">_______</a>
</div>
.sibling-fade { visibility: hidden; }
/* Prevents :hover from triggering in the gaps between items */

.sibling-fade > * { visibility: visible; }
/* Brings the child items back in, even though the parent is `hidden` */

.sibling-fade > * { transition: opacity 150ms linear 100ms, transform 150ms ease-in-out 100ms; }
/* Makes the fades smooth with a slight delay to prevent jumps as the mouse moves between items */

.sibling-fade:hover > * { opacity: 0.4; transform: scale(0.9); }
/* Fade out all items when the parent is hovered */

.sibling-fade > *:hover { opacity: 1; transform: scale(1); transition-delay: 0ms, 0ms; }
/* Fade in the currently hovered item */







/* Presentational Styles */
html { display: flex; height: 100%; }
body { 
  background: #7D7D7D;
  padding: 10px;
  max-width: 50em;
  margin: auto;
}

.sibling-fade {
  display: flex;
  flex-wrap: wrap;
}

.sibling-fade > * {
  background: #000000;
  padding: 1em;
  flex: auto;
  margin: 0.2em;
  text-align: center;
  color: #ffffff;
  font-size: 1.5em;
  text-decoration: none;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.