JSFiddle - React, Tailwind, and code Playground

HTML

<head>
    <title>Example of Twitter Bootstrap 3 Grid System</title>
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
    <style type="text/css">
        p {
            padding: 50px;
            font-size: 32px;
            font-weight: bold;
            text-align: center;
            background: #f2f2f2;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-sm-8 col-md-8 col-xl-8 col-xs-8">
                <div class="rect-responsive">
                    <div class="content">Hello rectangle</div>
                </div>
            </div>
            <div class="col-sm-4 col-md-4 col-xl-4 col-xs-4">
                <div class="square-responsive">
                    <div class="content">Hello square</div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>

CSS

.rect-responsive {
    background-color: red;
}
.square-responsive {
    background-color: yellow;
}

JavaScript

$(window).ready(function(){
        $(".square-responsive").height($(".square-responsive").width());
    $(".rect-responsive").height($(".square-responsive").width());
    console.log($(".rect-responsive").height() + " " + $(".square-responsive").height())
});
$(window).resize(function () {
    $(".square-responsive").height($(".square-responsive").width());
    $(".rect-responsive").height($(".square-responsive").width());
    console.log($(".rect-responsive").height() + " " + $(".square-responsive").height())
});