JSFiddle - React, Tailwind, and code Playground

Gmail UI Buttons

by Jennifer Perrin

HTML

<div id="wrapper">
      <section id="ui">
          <ul class="interface">
              <li class="first">
                  <a href="#">Archive</a>
              </li>

              <li>
                  <a href="#">Spam</a>
              </li>

              <li>
                  <a href="#">Delete</a>
              </li>

              <li class="last">
                  <a href="#">Mark as read</a>
              </li>
          </ul>

          <ul class="interface">
              <li class="first">
                <span>
                  <a class="icon plus" href="#">+</a>
                </span>
              </li>

              <li class="last">
                <span>
                  <a class="icon less" href="#">-</a>
                </span>
              </li>
          </ul>

          <ul class="interface">
              <li class="first">
                <a class="move" href="#">Move To</a>
              </li>

              <li class="last">
                <a class="label" href="#">Labels</a>
              </li>
          </ul>

          <ul class="interface">
              <li class="unique">
                <a class="more" href="#">More</a>
              </li>
          </ul>

          <ul class="interface">
              <li class="unique">
                <span>
                  <a class="refresh" href="#">Reload</a>
                </span>
              </li>
          </ul>
      </section>
  </div>

CSS

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

body {
  margin-top: 5%;
  background: none repeat scroll 0 0 #fafafa;
  color: #333333;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 75%;
  line-height: 2em;
}

html > body {
  font-size: 12px;
}

p, ul, ol, dl {
  margin: 0 0 1.5em;
}

ul, ol {
  margin-left: 1.5em;
}

#wrapper {
  width: 950px;
  margin: 0 auto;
  overflow: hidden;
}

#ui {
  margin-left: 5em;
}

.interface {
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  *zoom: 1;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  margin-right: 2em;
}
.interface li {
  background: whitesmoke;
  border-bottom: 1px solid #dadada;
  border-top: 1px solid #dadada;
  border-left: 1px solid #dadada;
  list-style-image: none;
  list-style-type: none;
  margin-left: 0;
  white-space: nowrap;
  display: inline;
  float: left;
  padding-left: 0;
  padding-right: 0;
  cursor: pointer;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(100%, #f1f1f1));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f1f1f1 100%);
  background-image: -moz-linear-gradient(top, #f5f5f5, #f1f1f1 100%);
  background-image: -o-linear-gradient(top, #f5f5f5, #f1f1f1 100%);
  background-image:...