Skip to content
Snippets Groups Projects
readme.md 2.18 KiB
Newer Older
  • Learn to ignore specific revisions
  • Markus Kaarto's avatar
    Markus Kaarto committed
    # hy-box
    
    <!-- Auto Generated Below -->
    
    ## Properties
    
    | Property  | Attribute | Description                                                                                                               | Type     | Default        |
    | --------- | --------- | ------------------------------------------------------------------------------------------------------------------------- | -------- | -------------- |
    | `align`   | `align`   | value for vertical alignment (align-items)                                                                                | `string` | `'baseline'`   |
    | `bg`      | `bg`      | background color. Must use one of css variable names from color tokens                                                    | `string` | `undefined`    |
    | `h`       | `h`       | fixed height for the container, useful for extra spacing containers                                                       | `number` | `undefined`    |
    | `justify` | `justify` | Value for horisontal alignment (justify-content)                                                                          | `string` | `'flex-start'` |
    | `p`       | `p`       | All sides padding value in rems. Responsive when given Comma separated values.                                            | `string` | `undefined`    |
    | `pb`      | `pb`      | Bottom padding in rems. Responsive when given Comma separated values.                                                     | `string` | `undefined`    |
    | `pl`      | `pl`      | Left padding in rems. Responsive when given Comma separated values.                                                       | `string` | `undefined`    |
    | `pr`      | `pr`      | Right padding in rems. Responsive when given Comma separated values.                                                      | `string` | `undefined`    |
    | `pt`      | `pt`      | Top padding in rems. Responsive when given Comma separated values.                                                        | `string` | `undefined`    |
    | `width`   | `width`   | Responsive width. Must be a comma separated string of percentage values for breakpoints. First item is the default value. | `string` | `'100'`        |
    
    ---
    
    Helsinki University Design System