Home / CSS Tips Generated By ChatGPT / Creating Text Shadows in CSS Add shadow to text with the text-shadow property for a 3D effect or to improve readability. Source Code h1 { text-shadow: 2px 2px 4px #000000; }