-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Enhancement ⬆️Improvement on an existing featureImprovement on an existing featureFrontend 💅Anything related to the frontend side of thingsAnything related to the frontend side of thingsGood First Issue 🔰Good for newcomersGood for newcomersHelp Wanted 🆘Extra attention is neededExtra attention is neededRefactor ♻️Refactor codeRefactor code
Description
Description
Quoting @madcampos
Background images work for things like the arrow on a select, or as the list indicator for a list item. Those are situations where the image is an enhancement to a single element.
For components with more than one element, then using an SVG is usually better.
The other point is styling, if we need to control or change how the icon will be styled (which is almost always), then using SVG is better as we can style it with CSS. An SVG image cannot have dynamic styles.
Metadata
Metadata
Assignees
Labels
Enhancement ⬆️Improvement on an existing featureImprovement on an existing featureFrontend 💅Anything related to the frontend side of thingsAnything related to the frontend side of thingsGood First Issue 🔰Good for newcomersGood for newcomersHelp Wanted 🆘Extra attention is neededExtra attention is neededRefactor ♻️Refactor codeRefactor code
Type
Projects
Status
Backlog