<div fxLayout="row" fxLayoutAlign="space-between" style="background-color: blue;">
<div fxLayout="column" style="width: 50%;">1stOne </div>
<div fxLayout="column" style="width: 50%;">2bdone</div>
</div>
<hr>
<div fxLayout="row" fxLayoutAlign="space-between" style="background-color: red;">
<span fxLayout="column" >1stOne </span>
<span fxLayout="column" >2bdone</span>
</div>
<hr>
<div fxLayout="row" fxLayoutAlign="space-between" style="background-color: red;">
<span fxLayout="column" fxFlex>1stOne </span>
<span fxLayout="column" fxFlex>2bdone</span>
</div>
Desired Ouput
----------------1st-------- | ---------2nd ------------------- |
---|
myOutput
https://i.sstatic.net/6vDSg.png
why is the fxLayoutAlign property not functioning properly?
I have already imported the FlexLayoutModule in my App.module.
- Does flexLayout work on inline items?