Hey there! I'm currently working on creating a CSS box with Bootstrap. If you'd like to take a look, feel free to check it out here.
- I noticed that the padding box isn't affecting the margin-top - any ideas why?
- Also, I'm trying to get the inputs to align properly, but they're not cooperating. Any suggestions?
Below is the HTML code that I've been using:
<div class="row">
<div class="col-sm-8 CssBox">
<div class="MargingBox">
<input type="text" class="form-control" id="MarginTop" placeholder="-">
<input type="text" class="form-control" id="MarginRight" placeholder="-">
<input type="text" class="form-control" id="MarginBottom" placeholder="-">
<input type="text" class="form-control" id="MarginLeft" placeholder="-">
<div class="BorderBox">
<input type="text" class="form-control" id="BorderTop" placeholder="-">
<input type="text" class="form-control" id="BorderRight" placeholder="-">
<input type="text" class="form-control" id="BorderBottom" placeholder="-">
<input type="text" class="form-control" id="BorderLeft" placeholder="-">
<div class="PaddingBox">
<!--<input type="text" class="form-control" id="PaddingTop" placeholder="-">
<input type="text" class="form-control" id="PaddingRight" placeholder="-">
<input type="text" class="form-control" id="PaddingBottom" placeholder="-">
<input type="text" class="form-control" id="PaddingLeft" placeholder="-">-->
</div>
</div>
</div>
</div>