Bootstrap 4.0
My row has two columns and the offset:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class='container'>
<div class='row'>
<div class='col-md-offset-4 col-md-4'>1/3</div>
<div class='col-md-4'>1/3</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
But I haven't the offset at the left. My jsFiddle is here.
Why I haven't the offset (col-md-offset-4
) at the left?