Mas

Mas

  • 1.5k
  • 459
  • 24.6k

How to make text content center of the rectangular in bootstrap

Jun 23 2020 12:04 AM
Hello Members,
 
Hope you are doing good!
 
Can any one guide me on moving the text content center of the retangular with bootstrap.
 
Below am adding the code and screenshot.
  1. .rectangle {  
  2. height300px;  
  3. width500px;  
  4. background-color#D6EAF8;  
  5. }  
  6. <div class="col-lg-6" >  
  7. <div class="text-center align-middle">  
  8. <div class="row">  
  9. <div class="rectangle"><span style="font-size:26px;">WE ARE GOING TO GIVE </span><br />  
  10. <span style="font-size:26px;"><b>“20 FREE VIDEO INTERVIEW”</b></span>  
  11. <br/>  
  12. <span style="font-size:26px;">PER-LICENCE</span>  
  13. </div>  
  14. </div>  
  15. </div>  
  16. </div>  
 
Looking forward to hear from you.
 
Thank you in advance!!!

Answers (2)