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 012


button{
    outline: none;
    position: relative;
    cursor: pointer;
    display: block;
    text-align: left;
    border: 2px solid #ffe0ff;
    border-radius: 17px 2px 17px 17px;
    padding: .5em 1.25em;
    color: #FFF;
    background: linear-gradient(#ff30b0 0%, #c3127f 100%);
    font-family: serif;
    font-style: italic;
    font-size: 28px;
    text-transform: lowercase;
    text-shadow: 1px 1px 2px #480936;
    line-height: 1;
    transition: all .3s ease;
    transform-style: flat;
    overflow: hidden;
    box-shadow: 0 0 5px #670f53;
    transform: translateZ(0px);
    -webkit-transform: translateZ(0px);
}

button:after{
    content: "";
    display: block;
    width: 100%;
    height: 50%;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .3;
    box-shadow: 0 3px 3px #FFF;
}

button:focus,
button:hover{
    transform: translateZ(0px) rotate(-5deg);
    -webkit-transform: translateZ(0px) rotate(-5deg);
    box-shadow: 0 0 10px #670f53;
}