Hello, I am new to using bootstrap and trying to enhance my skills. Currently, I have created 5 boxes - two on the left side and three on the right side. However, I have a few questions regarding their display. Firstly, I notice that box number '5' appears differently compared to numbers 2 and 4. It seems like it has some margin-left, although in reality it does not. My second question pertains to aligning the boxes to the center when using 'col-xs-12'. Is there a way to achieve this easily? Moving on, my third question involves the responsiveness of the layout. When I switch my phone to 'landscape' mode, I want the boxes to retain their positions exactly as they are now on larger screen sizes (col-lg-6 col-md-6 col-sm-6). Lastly, I have an extra box labeled 'white space' which I would like to hide without affecting the overall functionality of the layout. Is it possible to replace that with 'Display: none;' or 'visibility: hidden;'? I apologize for any language barrier, English is not my native tongue.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8>;
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<style>
.box{
width:100px;
height:100px;
border: solid black 1px;
}
.boxx{
width:100px;
height:100px;
border: solid white 1px;
}
* {
box-sizing: border-box;
box-sizing: border-box;
-webkit-box-sizing -moz-box-sizing: border-box;
}
</style>
</head>
<body>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="boxx">
white space
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="box">
2
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="box">
3
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="box">
4
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="box">
5
</div>
</div>
</div>
</div>
</div>
</body>
</html>