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.
Loading...
Related Quiz
- Which CSS property specifies whether an animation should play in reverse on alternate cycles?
- The CSS property float can be cleared using the value ________.
- How would you create a shadow effect that suggests a light source coming from the top right corner of the element?
- How can you ensure smoother animations when translating an element's position?
- To ensure that fonts are loaded from the same origin, you can use the ________ HTTP header.