Border around a vertical stack

Hi.

I have some cards in a vertical view and I was wondering if it is possible to have one border around them all…
Not each card I’m the stack, but have a border around the stack?

No. Stacks don’t have borders.

What you can do is is use this:

To put cards inside an entities card instead of a vertical statck.

type: custom:mod-card
style: |
  ha-card {
    border: 1px solid red;
  }
card:
  type: vertical-stack
  cards:
    - type: entities
      entities:
        - entity: sun.sun
        - entity: sun.sun
    - type: entity
      entity: sun.sun
7 Likes

Neat!

Is that part of card mod?

yes it is a part

1 Like