Removing custom card background and border

Hi there guys. I am building a dashboard and I have now added a custom-button-card to my dashboard and want to remove any background and border so that the picture I have used shows without any background.
However nothing changes. I have HACS installed with card-mod on the front end. I am not sure what I am doing wrong. I want to shows this as a button card but the picture without the grey background and border. Can anyone maybe guide me please?
Thank you in advance. :grinning:

Car_Present

I have added the following code:

style: |
  ha-card {
    background: transparent; 
    border-style: none;
    }
style: |
  ha-card {
     border-width: 0px !important;
     background: none
  }
1 Like