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 024


button{
    outline: none;
    cursor: pointer;
    display: block;
    position: relative;
    text-align: center;
    border: 6px solid rgba(0, 158, 255, 0.7);
    border-radius: 10px 10px 35px 15px;
    background-color: transparent;
    color: #900000;
    padding: .75em 1.5em;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: all .3s ease;           
}

button:focus,
button:hover{
    color: #bc5413;
}

button:before,
button:after{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}

button:before{
    top: -13px;
    left: -15px;
    border: 12px solid rgba(255, 213, 0, 0.75);
    border-radius: 10px 10px 35px 15px;
    transform: rotate(-8deg);
}

button:after{
    top: -10px;
    left: -20px;
    transform-origin: center;
    width: 108%;
    border: 8px solid rgba(244, 82, 0, 0.6);
    border-radius: 50px 20px 25px 15px;
    transform: rotate(6deg);
}

button:hover:before,
button:hover:after,
button:focus:before,
button:focus:after{
    top: -6px;
    left: -6px;
    width: 100%;
    border-radius: 10px 10px 35px 15px;
    transform: rotate(0deg);
    border-width: 6px;
}