JSFiddle - React, Tailwind, and code Playground

by David Thomas

HTML

<div id="botones">
    <button class="btn" data-am-type="button">Soy un &lt;button&gt;</button> <a class="btn" data-am-type="button">Soy un &lt;a&gt;</a>

    <div class="btn" data-am-type="button">Soy un &lt;div&gt;</div>
    <input class="btn" type="button" value="Soy un <input>" />
</div>

CSS

.btn {
    box-sizing: border-box;
    display: inline-block;
    padding: 4px 12px;
    /* Padding por defecto */
    font-size: 16px;
    /* Tamaño fuente por defecto */
    line-height: 80px;
    /* Tamaño de linea */
    text-align: center;
    vertical-align: middle;
    font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
    cursor: pointer;
    height: 80px;
    background-color: #f5f5f5;
    /* por si no se ve el gradiente, aunque si lo pruebo en Chrome nunca deberia verse este color*/
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
}