CodePen

HTML

            
              <div class="multiple-links vertical">
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
</div>

<div class="multiple-links horizontal">
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
	<a href="#ids">Links...</a>
</div>

<a href="#">Alone link</a>
            
          
!

CSS

            
              * {
  margin: 0;
  padding: 0;
}

a {
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #2937F8;
  box-shadow: 1px 0px 1px #1F2ABC, 0px 1px 1px #192298, 2px 1px 1px #1F2ABC, 1px 2px 1px #192298, 3px 2px 1px #1F2ABC, 2px 3px 1px #192298, 4px 3px 1px #1F2ABC, 3px 4px 1px #192298, 5px 4px 1px #1F2ABC, 4px 5px 1px #192298, 6px 5px 1px #1F2ABC;
  color: white;
  white-space: nowrap;
  padding: 9px 16px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  display: block;
  width: 200px;
  border-radius: 4px;
  margin: 5px;
}

a:hover, a:focus {
  background: #232FD6;
}

a:active {
  box-shadow: 1px 0px 1px #1F2ABC, 0px 1px 1px #192298, 2px 1px 1px #1F2ABC, 1px 2px 1px #192298, 3px 2px 1px #1F2ABC;
  -webkit-transform: translate(3px, 3px);
  -moz-transform: translate(3px, 3px);
  -o-transform: translate(3px, 3px);
  transform: translate(3px, 3px);
}

a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -5px;
  bottom: -5px;
}

a:active:after {
  top: -3px;
  left: -3px;
  right: -2px;
  bottom: -2px;
}

.multiple-links {
  margin: 5px;
}

.multiple-links a {
  border-radius: 0;
  margin: 0;
}

.multiple-links.vertical a {
  display: inline-block;
  margin: 0 0 0 -4px;
}

.multiple-links.vertical a:first-child {
  margin: 0;l
}

.multiple-links.horizontal a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.multiple-links.horizontal a:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.multiple-links.vertical a:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.multiple-links.vertical a:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              /*
  A customized version of the link design on CSS-Tricks (css-tricks.com)
  
  I want to give credit for the original code to Chris Coyier from CSS-Tricks
*/
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................