1

The HTML fieldset tag is not working in display flex, order property. But it works with a div tag.

.fset {
  display: flex;
}

.fset .first {
  order: 2;
  -webkit-order: 2;
}

.fset .second {
  order: 1;
  -webkit-order: 1;
}
<fieldset class="fset">
  <div class="first">
    <p>first</p>
  </div>
  <div class="second">
    <p>second</p>
  </div>
</fieldset>
Michael Benjamin
  • 346,931
  • 104
  • 581
  • 701
tamilselvancst
  • 478
  • 1
  • 3
  • 19

0 Answers0