Skip to content

Commit 4e735c0

Browse files
committed
Bootstrap.
1 parent 3a53dfc commit 4e735c0

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Bootstrap/landing/index.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
</head>
1515
<body>
1616

17-
18-
19-
2017
<!-- This is code from the previous tutorial with the following changes -->
2118

2219
<!-- navbar-fixed-top topnav -->
@@ -116,7 +113,8 @@ <h2 class="section-heading">Write and Drink Tea with Sweaters</h2>
116113
</div>
117114
</div>
118115

119-
<!-- Content row 1 -->
116+
117+
<!-- Content row 2 -->
120118
<div class="content-section-b">
121119
<div class="container">
122120
<div class="row">
@@ -125,22 +123,20 @@ <h2 class="section-heading">Write and Drink Tea with Sweaters</h2>
125123
<hr class="section-heading-spacer">
126124
<div class="clearfix"></div>
127125
<h2 class="section-heading">This Girl is Hot</h2>
128-
129126
<p class="lead">
130127
A special thanks to <a href="#">Death to the Stock Photo</a> for providing the photographs that
131128
you see in this template. Visit their website to become a member.
132129
</p>
133130
</div>
131+
134132
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
135133
<img class="img-responsive img-rounded" src="https://snap-photos.s3.amazonaws.com/img-thumbs/960w/EH83G44K4G.jpg">
136134
</div>
135+
137136
</div>
138137

139138
</div>
140-
<!-- /.container -->
141-
142139
</div>
143-
<!-- /.content-section-b -->
144140

145141
</body>
146142
</html>

Bootstrap/testing/pushPull.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,20 @@ <h1>3 column layout</h1>
2727

2828
<div class="row">
2929

30-
<!-- col-sm-push-5 = move right 5 columns (on larger screens) -->
31-
<div class="col-sm-5 col-sm-push-5">
30+
<!--
31+
col-sm-push-5 = move right 5 columns (on sm or greater)
32+
else just show as normal
33+
-->
34+
<div class="col-sm-5 col-sm-push-5" style="background: lightgreen">
3235
Content B
3336
</div>
3437

3538
<!-- col-sm-pull-5 = move left 5 columns -->
36-
<div class="col-sm-5 col-sm-pull-5">
39+
<div class="col-sm-5 col-sm-pull-5" style="background: lightcoral">
3740
Content A
3841
</div>
3942

40-
<div class="col-sm-2">
43+
<div class="col-sm-2" style="background: lightblue">
4144
Content C
4245
</div>
4346

0 commit comments

Comments
 (0)