JSFiddle - React, Tailwind, and code Playground

by David Nabb

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div id="menus-box">
<div class="rounded-box">
  <h2>Our Menus</h2>
  <div class="dropdown-content">
    <a href="#">Cafe</a>
    <a href="#">Catering</a>
  </div>
</div>
</div>

CSS

#menus-box .rounded-box {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 120px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #395729;
    background: -webkit-linear-gradient(#527c3a,#395729);
    background: -moz-linear-gradient(#527c3a,#395729);
    background: -o-linear-gradient(#527c3a,#395729);
    background: linear-gradient(#527c3a,#395729);
    box-shadow: 2px 2px 5px #000;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

#menus-box .rounded-box h2 {
    font-family: Greenteacookies, sans-serif;
    color: #fff !important;
    line-height: 1.5;
    font-size: 120% !important;
    text-shadow: none;
    text-align: center;
    margin-top: 10px !important;
}

#menus-box .rounded-box h2:before {
  content: '';
  font-family: fontawesome;
  margin: 0 5px 0 -2px;
  	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}

#menus-box .dropdown-content {
    display: none;
    position: relative;
    text-align: center;
    margin-top: -5px;
    padding: 0;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}

#menus-box .dropdown-content a {
    font-family: greenteacookies, calibri, sans-serif;
      font-size: 100% !important;
    color: white;
    margin-top: 2px;
   padding: 12px; 
    text-decoration: none;
    display: block;
    background: -webkit-linear-gradient(#527c3a,#395729);
    background: -moz-linear-gradient(#527c3a,#395729);
    background: -o-linear-gradient(#527c3a,#395729);
    background: linear-gradient(#527c3a,#395729);
    	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all...