You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Support CSS background property in labels/text renderer **
PR Description:
This commit adds support for the CSS background-color and background-image properties when used with HTML labels.
Backgrounds are supported for block items (eg <div>) or inline items (eg <span>)
For images, the CSS should be formatted as background-image: url(xx). It supports local file paths, http links, or base64 embedded content
Backgrounds are not supported for curved text
HTML backgrounds are always rendered above any background shape for the label, and below drop shadows/buffers
Sponsored by City of Freiburg im Breisgau
Commits tagged with [need-docs] or [FEATURE]
"[feature] Support CSS background property in labels/text renderer\n\nThis commit adds support for the CSS background-color and\nbackground-image properties when used with HTML labels.\n\n- Backgrounds are supported for block items (eg <div>) or inline\n items (eg <span>)\n- For images, the CSS should be formatted as background-image: url(xx).\n It supports local file paths, http links, or base64 embedded content\n- Backgrounds are not supported for curved text\n- HTML backgrounds are always rendered above any background shape for\n the label, and below drop shadows/buffers\n\nSponsored by City of Freiburg im Breisgau"
The text was updated successfully, but these errors were encountered:
Request for documentation
From pull request qgis/QGIS#59450
Author: @nyalldawson
QGIS version: 3.42
**Support CSS background property in labels/text renderer **
PR Description:
This commit adds support for the CSS
background-color
andbackground-image
properties when used with HTML labels.<div>
) or inline items (eg<span>
)background-image: url(xx)
. It supports local file paths, http links, or base64 embedded contentSponsored by City of Freiburg im Breisgau
Commits tagged with [need-docs] or [FEATURE]
"[feature] Support CSS background property in labels/text renderer\n\nThis commit adds support for the CSS
background-color
and\nbackground-image
properties when used with HTML labels.\n\n- Backgrounds are supported for block items (eg<div>
) or inline\n items (eg<span>
)\n- For images, the CSS should be formatted asbackground-image: url(xx)
.\n It supports local file paths, http links, or base64 embedded content\n- Backgrounds are not supported for curved text\n- HTML backgrounds are always rendered above any background shape for\n the label, and below drop shadows/buffers\n\nSponsored by City of Freiburg im Breisgau"The text was updated successfully, but these errors were encountered: