Hi! I'm Johannes Dachsel, a web designer and developer based near Heidelberg, Germany. This is my personal website. Get in touch

Johannes Dachsel

100 Buttons 037


button{
    outline: none;
    position: relative;
    top: 0;
    cursor: pointer;
    display: block;
    text-align: center;
    border: none;
    background-color: transparent;
    color: #FFF;
    padding: 1.25em 2em 1em;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: all .6s ease;
}

button:before,
button:after{
    content: "";
    position: absolute;
    z-index: -1;
    transition: transform .2s ease, background-color .6s ease;
}

button:before{
    background-color: rgba(255, 206, 25, 0.85);
    width: 51%;
    height: 100%;
    left: 5px;
    top: 2px;
    transform: skew(0, -6deg);
}

button:after{
    background-color: rgba(243, 77, 66, 0.65);
    width: 50%;
    height: 100%;
    right: 5px;
    top: 2px;
    transform: skew(0, -6deg);
}

button:hover:before,
button:focus:before,
button:hover:after,
button:focus:after{
    transform: skew(0,0);
    background-color: #f67e14
}