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 022


button{
    outline: none;
    cursor: pointer;
    display: block;
    position: relative;
    text-align: center;
    border: none;
    background-color: transparent;
    color: #ffffff;
    width: 212px;
    height: 60px;
    padding: 0;
    font-family: serif;
    font-size: 48px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    text-transform: lowercase;
    text-shadow: 1px 1px 2px #395280;
    transition: all .2s ease;
}

button:hover,
button:focus{
    text-shadow: 2px 2px 4px #395280;
}

button:before,
button:after{
    content: "";
    position: absolute;
    z-index: -1;
    top: -20px;
    left: 0;
    width: 60px;
    height: 60px;
    border: 20px solid #c4ebf5;
    border-radius: 50px 50px 0 50px;
    transform: rotate(-45deg);
    transition: all .3s ease;
}

button:after{
    left: auto;
    right: 0;
    border-radius: 50px 50px 50px 0;
    transform: rotate(45deg);
}

button:focus:after,
button:hover:after,
button:focus:before,
button:hover:before{
    border-color: #d4efff;
}