You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="stacks-copy">Applying <ahref="{{ "/product/base/box-shadow/" | url }}">a <ahref="{{ "/product/base/box-shadow/" | url }}"><codeclass="stacks-code">.bs-*</code> class</a> adds a box shadow to a card. Useful when giving users the impression they can interact with the card.</p>
<pclass="stacks-copy">The <codeclass="stacks-code">.s-card</code> class can be applied to an <codeclass="stacks-code"><a></code> tag for instances where a whole card should link somewhere. If possible, linked cards should visually indication that they’re interactive (ex. including an <codeclass="stacks-code">.s-btn</code> or <codeclass="stacks-code">.s-link</code> somewhere).</p>
71
81
<pclass="stacks-copy">A <codeclass="stacks-code">:hover</code> style for border color is automatically added to all linked cards. For linked cards with a box shadow (<codeclass="stacks-code">.bs-*</code>), adding <ahref="{{ "/product/base/box-shadow/" | url }}">a <codeclass="stacks-code">.h:bs-*</code> class</a> will apply a hover style to the box shadow as well. Increasing the <codeclass="stacks-code">.bs-</code> size by <strong>a factor of one</strong> is usually best.</p>
<pclass="stacks-copy">First introduced for our collections feature in Teams, cards can also be stacked to imply multiple sections or items. No need to overthink it, we can just nest our cards. Note: You’ll need to compensate for the <codeclass="stacks-code">4px</code> of nesting on that right edge to keep things equidistant.</p>
0 commit comments