Workshop

Quiz

1: What style properties are used to adjust the transparency of an object?
A1: The opacity, fill-opacity, and stroke-opacity style properties are used to adjust the transparency of an object. The first of the three, opacity, adjusts both fill and stroke opacities simultaneously.
2:True or False: The stroke-weight style declaration is used to determine the thickness of a stroke.
A2: False. The stroke-width declaration is used to determine the thickness of a stroke.
3:Describe the two types of gradients possible in SVG.
A3: Two types of gradients exist in SVG: linear and gradient. Linear gradients follow a straight directional path (known as a gradient vector), whereas radial gradients blend colors along the radius of a circle.
4:

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.