def box(zone: str, order: Optional[int] = None, size: Union[str, int, None] = None, width: Optional[str] = None, height: Optional[str] = None) ‑> str
Create a specification for card's
box() attribute. Indicates where and how to position a card.
- The name of the zone to place the card in.
- An number that determines the position of this card relative to other cards in the same zone. Cards in the same zone are sorted in ascending
orderand then placed left to right (or top to bottom).
- A number that indicates the ratio of available width or height occupied by this card. Defaults to 1 if size, width and height are not provided.
- The width of this card, e.g.
- The height of this card, e.g.
A string intended to be used as a card's
def boxes(*args: str) ‑> str