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 051


button{
    outline: none;
    cursor: pointer;
    display: block;
    text-align: center;
    padding: 30px 60px 5px 5px;
    border-radius: 5px;
    background: -webkit-linear-gradient(top, #366ee5 0%, #213970 100%);
    color: rgba(255, 255, 255, 0.7);            
    border: 2px solid black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 2px 2px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 255, 255, 0.1), 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 3px 1px #1979ff, inset 0 9px 1px -5px rgba(255, 255, 255, 0.8);
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 -1px 0 #0d1733;
    transition: all .2s ease;
}

button:focus,
button:hover{
    background: -webkit-radial-gradient(50% 65%, ellipse closest-corner, #0052e6 0%, #004edd 80%, #0052e7 100%);
    box-shadow: 0 0 50px rgba(52, 92, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.7), 0 2px 2px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 255, 255, 0.1), 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 3px 1px #006ff5, inset 0 9px 1px -5px rgba(255, 255, 255, 0.6), inset 0 6px 3px 1px #004899;
}

button:active{
    background: -webkit-radial-gradient(center, ellipse cover, #0052e6 0%, #004edd 80%, #0052e7 100%);
    box-shadow: 0 0 20px rgba(52, 92, 255, 0.4), 0 0 2px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 255, 255, 0.1), 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}