In a design where text needs to appear as though it is glowing, what CSS property should be used to create this effect, and how should it be manipulated to achieve the glow?

  • text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  • color: #fff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.7);
  • font-color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  • text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.7);
Option 2 is correct. It sets the text color to white and applies a text shadow with a glow effect using rgba values for transparency.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *