Advertisement
Karim_Gabr

divs ordering

Sep 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.36 KB | None | 0 0
  1. <div className="row d-flex flex-row justify-content-center text-center pb-3">
  2.     <div className="div-1 col-lg-3 col-md-6 ml-4 mt-5"/>
  3.     <div className="div-2 col-lg-5 col-md-12 order-md-1 mt-2"/>
  4.     <div className="div-3 col-lg-3 col-md-6 mr-4 mt-5"/>
  5. </div>
  6.  
  7. //*
  8. in lg the view is:
  9. div-1 div-2 div-3
  10.  
  11. in md and sm view i want it to be:
  12.    div-2
  13. div-1 div-3
  14. *//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement