Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1675

what's wrong with my flexbox ? I try to use column on form element [duplicate]

$
0
0

[edit]*

As you can see, there is no error in this code, my initial problem is due to the improper installation of Firefox on my computer. I didn't know it when I asked this question.

* I can't delete it (due to one answer with upvotes)

You cannot delete this question as others have invested time and effort into answering it. For more information, visit the help center.

this is what I would like to get:

┌─────┐┌─────┐│  A  │││└─────┘││┌─────┐│  B  ││  C  │││└─────┘││└─────┘

what I have done:

form {  display        : flex;  flex-direction : column;  flex-wrap      : wrap;  height         : 14em;  }fieldset {   display : block;  margin  : 1em .6em;  }fieldset:nth-child(2) {  order      : 2;  flex-basis : 10em;  }
<form action="" id="my-form"><fieldset><legend> -A- </legend><input type="text"></fieldset><fieldset><legend> -B- </legend><input type="text"></fieldset><fieldset><legend> -C- </legend><input type="text"></fieldset></form>

Viewing all articles
Browse latest Browse all 1675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>