I'm using a Vertical Stack card to contain five cards for weather and moon phase information. My Home Assistant theme is Frosted Glass Theme, installed via HACS. I've added the following code to some of the cards internal to the Vertical Stack to modify vertical spacing between elements:
card_mod:
style: |
ha-card {
border: none;
box-shadow: none;
drop-shadow: none;
background: none;
margin-top: -30px;
margin-bottom: -50px;
}
I don't know much about CSS; I added the border/shadow/background code kind of blindly trying to fix my problem. The preview in the Vertical Stack card configuration doesn't show the problems since it doesn't have the theme background, so it's not very easy to test things in real time. I have arrows pointing to the unwanted effects in the screenshot. You can kind of even see them in the first screenshot!
Any ideas?