MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ChrisLeduex
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Groups 0

    Posts

    Recent Best Controversial
    • Adding background image to analog clock.

      Hello, I’m trying to add a svg image to the default analog clock module in a way that will allow me to change it’s color along with the other elements using custom.css.

      However the problem is the image hides part of the clock hands and I can’t figure how to fix it. Any suggestions?

      Here’s my entry in the custom.css file:

      .clock-face {
      .clock-face {
        -webkit-mask: url('apple-fresh-fruit-svgrepo-com.svg') center/cover no-repeat;
        mask: url('apple-fresh-fruit-svgrepo-com.svg');
        display: block;
        margin: auto;
        margin-top: 60px;
        height:45%;
        width: 45%;
        background:var(--use_color);
      }
      

      20241111_18h07m53s_grim.png

      posted in Troubleshooting
      C
      ChrisLeduex
    • 1 / 1