forked from buckyroberts/Source-Code-from-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path013_pushAndPull.html
More file actions
40 lines (32 loc) · 1.19 KB
/
013_pushAndPull.html
File metadata and controls
40 lines (32 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<title>thenewboston</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<h3>Push and pull</h3>
<div class="row">
<!--
col-md-push-5 = move right 5 columns on md or greater (stay same for sm)
else just show as normal
-->
<div class="col-md-5 col-md-push-5" style="background: lightgreen">
Content A - MAIN BANNER
</div>
<!-- col-sm-pull-5 = move left 5 columns -->
<div class="col-md-5 col-md-pull-5" style="background: lightcoral">
Content B
</div>
<div class="col-md-2" style="background: lightblue">
Content C
</div>
</div>
</div>
</body>
</html>