Return to Snippet

Revision: 4662
at January 15, 2008 00:53 by iTony


Initial Code
<script>
<!–

var message=”Shadow”;
var range=2;
var extra=”font-size:40px;”;
var color1=”gray”;
var color2=”black”;
var x = range;
var y = range;

document.write (”<span style=’”+extra+” color:”+color2+”; position:absolute\; left:”+x+”; top:”+y+”;’>”+message+”</span>”);
document.write (”<span style=’”+extra+” color:”+color1+”; position:absolute; left:0; top:0;’>”+message+”</span>”);

//–>
</script>

Initial URL
http://stylizedweb.com/2008/01/13/outline-text-with-js/

Initial Description

                                

Initial Title
drop a shadow in a text

Initial Tags
javascript, text

Initial Language
JavaScript