Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105895

Markdown img background - card-mod?

$
0
0

How can I integrate the background without losing the ha-card style?

type: markdown
content: >
  <center><img width='50'
  src="https://www.freeiconspng.com/thumbs/logo-whatsapp-png/logo-whatsapp-png-free-vector-download-7.png"/></center>
card_mod:
      style: |
        ha-card { --ha-card-header-font-size: 20px;
        border-radius: 10px 10px 10px 10px;
        border-width: 1px; border-color: green; }
        ha-markdown:
          $: |
            img { 
              background-color:black;
            }        
            

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>