Voilà!

by vvv vvvv

HTML

<div class="this">
  voilà
  <div class="this-inner"></div>
  <!--
    The <div> above is for a purely decorative purpose.
    Couldn't do without it :(
    -->
</div>

CSS

body {
  padding: 50px;
  background-color: rgb(70, 169, 231);
  font: 350% sans-serif;
  color: rgb(205, 226, 123);
}

.this {
  position: relative;
  padding: 5% 0;
  text-align: center;
}

.this-inner {
  position: absolute;
  z-index: -1; /* Now we can select the text */
  top: -3%;
  bottom: -3%;
  border: solid rgb(205, 226, 123);
  border-width: 3px 0;
  margin: 0 5%;
  width: 90%;
}

.this-inner:before,
.this-inner:after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  display: block;
  border-top: 1px solid #fff;
  height: 0;
}

.this-inner:before {
  top: -10%;
}

.this-inner:after {
  bottom: -10%;
}