<fieldset>
    <legend>Legend for field set</legend>
</fieldset>
<fieldset>
  <legend>{{ legend }}</legend>
</fieldset>
{
  "legend": "Legend for field set"
}
  • Content:
    fieldset {
      border: solid 1px #ccc;
      border-radius: .5em; 
      padding: #{$line-height};
    
      > :last-child {
        margin-bottom: 0;
      }
    }
    
    legend {
      padding: 0 1em;
      margin-left: -1em;
      color: #333;
      font-family: $font-stack-form-ui;
      font-weight: bold;
    }
  • URL: /components/raw/fieldset/_sass.scss
  • Filesystem Path: components/01-elements/03-form-controls/fieldset/_sass.scss
  • Size: 259 Bytes

There are no notes for this item.