Hi, I am trying to recreate the project example for the Survey Form project. I am having a problem getting even margins for my text inputs. I have each text input inside a div of class “form-group” with this styling:
The problem is the form control overflows the parent container when the width property is at 100%. Here is my codepen, I set the padding of the parent container to 0 to illustrate.
Thanks for pointing me in the right direction, works great now. I read about the border-box property on this short tutorial, but the reading the documentation helped me understand.