Hi all,
Does anyone know how I would add a faded border to my container panel?
Many thanks in advance!
Sam
Hi all,
Does anyone know how I would add a faded border to my container panel?
Many thanks in advance!
Sam
#container {
border-radius:4px;
border: 10pt solid rgba(0,0,0,0.5);
-moz-background-clip: border;
-webkit-background-clip: border;
background-clip: border-box;
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
}Ah great thanks! Not exactly what I was imagining but looks good none the less!
Would there be an easy solution for fading the white out? Much like a 'feathering' effect?
Thanks again,
Sam
Would there be an easy solution for fading the white out? Much like a 'feathering' effect?Nope.
Changing the above code (just the border) to this will fade it a bit though:
border: 10pt solid rgba(255,255,255,0.5);
You must log in to post.