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 036


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 .2s ease;
}

button:before,
button:after{
    content: "";
    position: absolute;
    z-index: -1;
    background-color: #85d5cf;
    transition: all .2s ease;
}

button:before{
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    box-shadow: 3px 3px 0 #62c5fb;
    width: 50%;
    height: 100%;
    left: 0;
    top: 2px;
    transform: skew(0, -6deg);
}

button:after{
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    box-shadow: 3px 3px 0 #62c5fb;
    width: 50%;
    height: 100%;
    right: 0;
    top: 2px;
    transform: skew(0, 6deg);
}

button:hover{
    top: -5px;
}

button:hover:before,
button:focus:before,
button:hover:after,
button:focus:after{
    box-shadow: 3px 8px 0 #62c5fb;
}