Project:
QGIS
Version:
3.42
Feature: Support CSS background property in labels/text renderer
QGIS now supports CSS background-color and background-image properties when used with HTML labels.
- Backgrounds are supported for block items (e.g.
<div>
) or inline items (e.g. <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
This feature was funded by City of Freiburg im Breisgau
This feature was developed by Nyall Dawson