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 020


button{
    outline: none;
    cursor: pointer;
    display: block;
    position: relative;
    text-align: center;
    border: 1px dashed #FFF;
    background: transparent;
    color: #FFF;
    padding: 1.5em 3em;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .5em;
    transition: all .2s ease;
    overflow: hidden;
}

button:before{
    content: "\25b6";
    position: absolute;
    left: 2em;
    top: -1em;
    opacity: 0;
    transition: all .4s ease;
}

button:focus,
button:hover{
    border-style: solid;
    padding-left: 4em;
    padding-right: 2em;
}

button:focus:before,
button:hover:before{
    top: 50%;
    transform: translate(0,-50%);
    opacity: 1;
}