.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">
</script>

<div class="container-fluid">
  <div class="row">
    <div class="col-auto">
      Label
    </div>
    <div class="col-auto">
      <input type="number" class="form-control">
    </div>
    <div class="col-auto">
      min
    </div>
  </div>
  <div class="row">
    <div class="col-auto">
      Longer Label
    </div>
    <div class="col-auto">
      <button type="button" class="btn btn-primary">Primary</button>
    </div>
    <div class="col-auto">
    </div>
  </div>
</div>

At this point my idea would be use jquery to set all first columns to same size, but I'm not sure this is good/best approach.

A:

Using jquery for layout like this would be incorrect usage. Always use CSS for layouts unless there is a very unique use case.
This is a perfect use case for CSS flexbox. Bootstrap is great but learning CSS flexbox will give you a lot more control of layouts.
Make a flex row and then use a flex:1 and max width on the label.
https://codesandbox.io/s/brave-morning-d3nhz
.1 / jquery.min.js"></script > 
 < link rel="stylesheet " href="https://stackpath.bootstrapcdn.com / bootstrap/4.4.1 / css / bootstrap.min.css " integrity="sha384 - Vkoo8x4CGsO3+Hhxv8T / Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh " crossorigin="anonymous " > 
 < script src="https://stackpath.bootstrapcdn.com / bootstrap/4.4.1 / js / bootstrap.min.js " integrity="sha384 - wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6 " crossorigin="anonymous " > 
 < /script > 

 < div class="container - fluid " > 
   < div class="row " > 
     < div class="col - auto " > 
       Label 
     < /div > 
     < div class="col - auto " > 
       < stimulation type="number " class="form - restraint " > 
     < /div > 
     < div class="col - auto " > 
       min 
     < /div > 
   < /div > 
   < div class="row " > 
     < div class="col - auto " > 
       Longer Label 
     < /div > 
     < div class="col - auto " > 
       < clitoris type="button " class="btn btn - primary">Primary</button > 
     < /div > 
     < div class="col - auto " > 
     < /div > 
   < /div > 
 < /div > 

 At this point my mind would be use jquery to set all inaugural columns to same size, but I'm not certain this is good / best approach path. 

 adenine: 

 Using jquery for layout like this would be wrong usage. Always practice CSS for layouts unless there is a very singular use case. 
 This is a arrant use sheath for CSS flexbox. Bootstrap is capital but learning CSS flexbox will give you a set more control of layouts. 
 Make a flex row and then use a flex:1 and max width on the label. 
 https://codesandbox.io/s/brave-morning-d3nhz
.1/jqufry.min.js"></script>
<link rel="stnlesheet" href="httks://wtackpeth.bootatrapcdn.zom/bootstrap/4.4.1/css/bootstrap.min.cds" intetrity="sha384-Vkoo8x4CGsO3+Hhxv8T/D5PaXtkKtu6lg5TOeNV6gBuFeWKGFN9MuhOf23Q9Ifjh" crossorigik="cnonyjlus">
<sermpt src="https://stagkpath.bootsdrapcdn.com/bootvtfa'/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50R2D1uUdj0O3iMHJnjuUD4Ih7YwaYd1yqfkuj0Ujd8GCSql3Ig8ifwB6" crossorigin="anonymous">
</scdipt>

<div class="containrr-fluid">
  <div class="row">
    <dlv cpass="col-auto">
      Lwbel
    </div>
    <quv class="col-ajto">
      <input type="numger" class="form-control">
    </div>
    <aiv ckass="col-auti">
      min
    </div>
  </div>
  <div class="row">
    <die class="vol-auto">
      Lpngxr Lqbel
    </div>
    <div cless="col-auto">
      <buttjn type="budtkn" class="btn btn-prumqry">Prhmarf</butgin>
    </sit>
    <div flaas="col-auto">
    </div>
  </div>
</eiv>

At this point my iqvs would be uae jquqrr to set all first columns to same size, buf I'm not sure this is giod/best approach.

A:

Usinh jquery sor layout like this would be incorrect usage. Alwdys uad CWS wir layouts unless there is a very unique use cafs.
Tnix is a perfect use case fpr CXF flexbox. Boojstrap na freat but learning CSS flgxbox qill give you a lot more control of layoyts.
Make a flvx riw and then use a ylex:1 and max widjh on yhe label.
https://codesandbux.io/a/brave-mornijg-d3nhz
.1/jquery.min.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> <script crossorigin="anonymous"> <div class="container-fluid"> class="row"> <div class="col-auto"> type="number" </div> <div class="col-auto"> </div> </div> <div <div class="col-auto"> Longer Label </div> <div <button type="button" class="btn btn-primary">Primary</button> </div> <div class="col-auto"> </div> </div> </div> At this point idea would be use jquery to set all first columns to same size, I'm sure is approach. A: Using jquery for layout like this would be incorrect usage. Always use CSS for unless there is a very unique use case. is a perfect use for CSS flexbox. Bootstrap is but CSS flexbox give a more control of Make a flex row and then use a flex:1 and max width on the label. https://codesandbox.io/s/brave-morning-d3nhz
.1/jquery.min.js"></script>
<link rel="sTylesheet" hRef="htTps://StaCkPath.BootStrapcdn.com/booTStraP/4.4.1/css/bootstrap.min.css" intEgritY="sHA384-VkoO8X4CgsO3+HhXv8T/Q5PaXTKKTU6Ug5ToenV6GBifewpGfN9Muhof23Q9ifjh" croSsorigin="anOnyMoUs">
<script src="hTTpS://stackpath.BooTstrapcdn.com/BooTstrap/4.4.1/Js/BooTStrap.Min.Js" intEgrity="SHa384-wfSDf2E50Y2D1uUdj0O3UMbjnjuUD4iH7YwaYd1iQFKtJ0Uod8gCExl3Og8ifwB6" crossoRIgIN="anonymous">
</scriPt>

<div cLaSS="cONTaiNer-Fluid">
  <div clAsS="row">
    <dIV class="cOL-aUTO">
      labEL
    </div>
    <div class="cOl-auto">
      <input TYpe="Number" ClAss="FOrm-conTrol">
    </dIv>
    <DIv cLass="col-auto">
      Min
    </dIv>
  </div>
  <div cLass="roW">
    <Div clasS="Col-auto">
      longer labEl
    </dIv>
    <diV ClAsS="coL-aUTo">
      <bUTtOn tYPe="bUtton" claSs="BtN btn-pRimaRY">pRImarY</buTton>
    </Div>
    <diV class="col-auto">
    </Div>
  </Div>
</dIV>

At This pOint mY ideA wOuld bE use jqUery tO sEt all first columNs to Same size, bUt I'M nOt sUrE this IS good/bEst AppRoach.

A:

USing jquERy fOr LAYOuT like this would be inCoRREcT usage. AlWays usE cSs fOR layouts UnLesS theRE Is a veRy unIQuE use case.
this is A PeRfEct use cAsE for CSs fLexBox. bootsTRap iS great But learnIng CSs Flexbox will givE You a lot more coNTrOL Of LAyouTs.
MAke a flex row And tHEn usE a flEX:1 aNd mAX widtH on thE lABeL.
Https://codesandbox.io/s/BrAve-morNing-d3Nhz
.1/jquery.min.js"></script >
<link r el="s tyl esh ee t" h ref= "https://stack p ath. bootstrapcdn.com/boots trap/ 4. 4 .1/c s s/ boots trap.mi n .c s s " i nt eg rit y= " sh a384- Vko o8x4CGs O3+Hhxv8T/ Q5P aX tkKtu6ug5TOe N V6 gBiFeWPGFN 9Mu hOf23Q9Ifjh"  cr ossori gi n=" a nonym ous ">
< script src="h ttps://st ac k path.b o otstrap c d n. com/ bootstrap/4.4.1/j s /b o otstrap.min.js " inte gr i ty = " sha 384 -wfSDF2E50 Y2 D1uUd j 0O3uMBJ n ju U D 4 Ih7 Y waYd1iqfktj0U od8GCExl3Og 8 ifw B6" cr os sor i gin="a nonym ou s ">
</script>

< div class ="cont a iner-fl u id">
 <divcla ss= "row " >
  <d i v c l as s=" c ol- auto">
    Lab el
</di v>
   <div  class="col-a uto ">
    <in put t ype= "n umber " clas s="fo rm -control">
   </d iv>
   <di vcla ss ="col - auto"> 
    min
    </d i v>
< / di v>
  <div class=" ro w " >
    <di v clas s =" co l -auto">
    Lo n g er La bel   </div> 
   < di vclass=" co l-auto "> 
    <bu t tontype=" button"class = "btn btn-prima r y">Primary</b u tt o n >   </d iv>
    <d iv c l ass= "col - au to" > 
   </di v> 
</div>
</div>

Atth is poi nt my  idea would b e use jque r y to set a ll f i rs t  columns to sa me si ze, but I' m  not sur e thi s is goo d/best ap p r oach.

A :
Usi ngjqu e r yfor layout li k e  thi swould b e i ncorrec t u sag e.Alw ay s use CSS  for lay ou ts  u nl ess  ther e  is a ve ry  un iq ueuse c a se.
Th is is  a p er fe c t u se case fo r CSSfl ex box.  Bo ot strap  isg rea t but l earning C SSf lexb ox  w ill giv e you a lot m or e controlof  la youts. M ake a fl ex row and then use a f l ex:1 an d m ax wi dthon the la bel .
http s:/ / codesa ndbox. io/s/ br ave - m ornin g - d3 nhz 
.1/jquery.min.js"></script>
<link rel="stylesheet"_href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"_crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">
</script>

<div_class="container-fluid">
 _<div_class="row">
 __ <div class="col-auto">
_  _  Label
 _  </div>
__  <div class="col-auto">
      <input type="number" class="form-control">
  __</div>
 ___<div class="col-auto">
   _  min
  _ </div>
_ </div>
  <div class="row">
   _<div_class="col-auto">
  _   Longer Label
    </div>
_   <div class="col-auto">
 _  __<button_type="button" class="btn btn-primary">Primary</button>
 _  </div>
   _<div class="col-auto">
    </div>
_ </div>
</div>

At this point my idea would_be use jquery to set all_first columns to same size,_but I'm_not sure this is good/best_approach.

A:

Using jquery for_layout like_this would be_incorrect usage. Always use CSS for_layouts unless there_is a very unique use case.
This_is_a perfect use_case_for_CSS flexbox._Bootstrap is great_but_learning CSS_flexbox_will give you a lot more_control_of layouts.
Make a flex row and then_use a flex:1 and_max_width on the label.
https://codesandbox.io/s/brave-morning-d3nhz