Add background image CSS as a static utility or a twig filter.

Created on 7 August 2021, over 3 years ago
Updated 13 August 2024, 9 months ago

Problem/Motivation

It would be great if we could separate out the code that creates the CSS for responsive background image as a service. Much like this Merge Request does for a date_ap_style twig filter https://git.drupalcode.org/project/date_ap_style/-/commit/d44b93b3aec3a5....

Here is the code that takes inputs and builds the CSS I am talking about.
https://git.drupalcode.org/project/bg_image_formatter/-/blob/8.x-3.x/mod...

Are there any objections to this approach?

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024