So, I have 3 boxes that should have a specific height and width and set them to bootstrap as children. It looks good in sight:

However, when the window is resized, the boxes move to the left, rather than floating in the middle of this background graphic. In addition, the title text (in yellow) loses its top complement as:

It was thought that responsiveness was exciting, but could not pinpoint it, and I hope some of you can help.
My HTML for them:
<div class="container"> <div class="claimHead col-md-12"> <div class="submitHeader" style="margin-top: 60px; margin-bottom: 60px; margin-left: 30px;"> <h1 style="font-size: 36px;">Claim Submission Tool</h1> <p style="font-size: 18px;">Filing claims has never been easier, it a simple as 1, 2, 3</p> </div> <div id="stepsContainer"> <div class="col-md-4 stepsBox"> <div class="claimSteps" id="stepOne"> <p class="claimStepNumber">1</p> <p class="claimStepTitle">step one</p> <p class="claimStepText">Get started by entering your claim information in the fields below.</p> </div> </div> <div class="col-md-4 stepsBox"> <div class="claimSteps" id="stepTwo"> <p class="claimStepNumber">2</p> <p class="claimStepTitle">step two</p> <p class="claimStepText">Next drag & drop or upload your documentation.</p> </div> </div> <div class="col-md-4 stepsBox"> <div class="claimSteps" id="stepThree"> <p class="claimStepNumber">3</p> <p class="claimStepTitle">step three</p> <p class="claimStepText">Now you're ready to submit your claim and await reimbursement.</p> </div> </div> </div> </div> </div>
And my css:
#stepsContainer { text-align: center; } .stepsBox { padding-bottom: 60px; } .claimSteps { padding-top: 40px; width: 335px; height: 285px; background-color: #2dccd3; color: #ffffff; text-align: center; } .claimStepNumber { font-size: 38px; background-color: #ffffff; color: #2dccd3; width: 65px; height: 65px; border-radius: 50%; margin-left: 135px; } .claimStepTitle { color: #ffffff; font-size: 18px; } .claimStepText { text-align: center; margin-left: 33.3%; width: 33.3%; }
Any ideas on what I can here and where to check? I also use Bootstrap 3 on top of this css, but I donโt see where this causes the fields to shift to the left.
Thank you very much.
source share