https://www.w3schools.com/css/tryit.asp?filename=trycss3_text-shadow_border <!DOCTYPE html> <html> <head> <style> h1 { color: yellow; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; } </style> </head> <body> <h1>Border around text!</h1> <p><b>Note:</b> Internet Explorer 9 and earlier versions, do not support the text-shadow property.</p> </body> </html> |