JSFiddle - React, Tailwind, and code Playground

by Danja Wittmann

HTML

<div class="article">
  <div class="content">
    <h1>Lorem ipsum</h1>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. In in aliquet tellus, hendrerit vulputate sapien. Aenean ullamcorper interdum lectus sit amet fermentum. Praesent mattis turpis. 
    </p>
  </div>
    <div class="meta">
      <a class="detalis" href="#">detalis</a><a class="view" href="#">view online</a>
    </div>
</div>

CSS

* {
  margin: 0;
  box-sizing: padding-box;
}
.article {
  width: 500px;
  margin: 20px auto;
  background-image: url("http://www.youmult.net/_sf/1/152.jpg");
  background-size: 100%;
  font-family: "Trebuchet MS";
  color: #f0f0f0;
}
.content {
  background-color: rgba(80,80,195,0.5);
  padding: 30px 20px;
  min-height: 200px;
}
.content h1 {
  font-family: "Haettenschweiler";
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: normal;
  margin: 10px 0;
}
.meta a {
  font-weight: bold;
  padding: 15px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  background-color: #1B5180;
  list-style: none;
  display: inline-block;
  width: 50%;
}
.meta a:nth-of-type(2) {
  background-color: #fff;
  color: #1B5180;
}