Debugging why card-mod isn't working

This is an example with Code inspector:

type: markdown
title: xxx
content: |-
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
  xxxxxxxxxx
card_mod:
  style:
    $: |
      .card-header {
        background: red;
      }
    .: |
      ha-card {
        background: cyan;
        overflow: clip;
      }

This is the main card-mod thread for asking questions.

1 Like