Gradient Border Blur

using :before you can blur only the background!

by kizer

HTML

<div id="blur"></div>
<div id="container">
    <h1>Gradient Border Test</h1>
</div>

CSS

html {
    background: #eee;
}

html {
    background: url(http://f.cl.ly/items/2r2I1w1t3m0D3q360J31/NSTexturedFullScreenBackgroundColor.png);
}

#container {
    background: rgba(255,255,255, .25);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    margin: 80px auto;
    padding: 20px;
    position: relative;
    width: 150px;
}

#blur {
  -webkit-filter: blur(2px);
}



#container * {
    position: relative;
}

h1 {
    font-size: 15px;
    text-align: center;
    -webkit-filter: blur(0px) !important;

}

#container::before {
    background: white;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    bottom: 1px;
    content: '';
    left: 1px;
    position: absolute;
    right: 1px;
    top: 1px;
    opacity: .25;

}