0

I have a html

    <div class={css.mainDiv}>
     <div class={css.marksContainer}></div>
     <div class={css.gradeContaner}</div>
     <div></div>
    </div>

So, Here I have a flex property.

    .mainDiv {
     display: flex;
     justify-content: space-between;
    }

Now, I have added a third div here to resolve an issue which was I want to have first two divs to be at start and middle place (row wise) and and third div which is empty.

But right now, what happens is first div is at start place and second div is at last place (space-betwween)

So Is there any solution to this ?

ppwater
  • 2,304
  • 4
  • 14
  • 29
ganesh
  • 875
  • 2
  • 14
  • 26

0 Answers0