Heiko Mamerow

Web development with WordPress

Tag: CSS variables

  • Hovering with inline CSS variables

    Recently I had a nice little problem to solve: I need to change a dynamic bunch of inline background images (SVG icons) via CSS. The user should manage the icons in WordPress with custom fields. Origin code example with static inline background image: As you can see above every icon is just a div box […]