.icon {
  background-image: url('data:image/webp;base64,UklGR...');
  background-size: contain;
  background-repeat: no-repeat;
}

Use a quoted URL

Wrap the complete Data URL in quotes inside url(). This avoids parsing problems and keeps the declaration easier to copy.

Choose decorative images

CSS backgrounds have no alt text, so meaningful content should normally use an HTML img element instead.

Measure the tradeoff

Inlining may remove one request, but it increases stylesheet size and prevents independent image caching. Prefer small, page-specific assets.