Which of the following is the correct syntax to define a radial gradient in Figma's CSS export?
easy🧠 Conceptual Q3 of 15
Figma - Color and Fill
Which of the following is the correct syntax to define a radial gradient in Figma's CSS export?
Abackground: radial-gradient(circle, red, blue);
Bbackground: linear-gradient(circle, red, blue);
Cbackground: radial-gradient(line, red, blue);
Dbackground: gradient-radial(circle, red, blue);
Step-by-Step Solution
Solution:
Step 1: Recall CSS radial gradient syntax
The correct CSS syntax uses 'radial-gradient' with 'circle' to define shape.
Step 2: Check each option
background: radial-gradient(circle, red, blue); matches correct syntax. Options B and C use wrong gradient types or keywords. background: gradient-radial(circle, red, blue); uses invalid function name.
Final Answer:
background: radial-gradient(circle, red, blue); -> Option A