<a href="#1">Link 1</a>
<a href="#2">This is link 2. with longer text</a>
<a href="#3">3rd</a>

<div></div>
body {
  display: table;
  position: relative;
}

a {
  display: table;
  margin: 0 1em 1em 0;
  background: tan;
}

div {
  width: 100px;
  height: 100px;
  background: green;
  position: absolute;
  top: 0;
  left: 100%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.