Skip to content

Commit adf1206

Browse files
committed
End of video4 - the periscope
1 parent e385767 commit adf1206

File tree

6 files changed

+58
-1
lines changed

6 files changed

+58
-1
lines changed

css/layout1.sass

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,17 @@ img
8484
&.is-showing
8585
opacity: 1
8686
transform: translateX(0px)
87+
88+
89+
90+
// large-window
91+
92+
.large-window
93+
height: 640px
94+
background:
95+
image: url(/images/model2.jpg)
96+
position: center 0px
97+
repeat: repeat-y
98+
attachment: fixed
99+
margin-top: 100px
100+
border-radius: 50%

css/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,3 +924,12 @@ img {
924924
.clothes-pics figure.is-showing {
925925
opacity: 1;
926926
transform: translateX(0px); }
927+
928+
.large-window {
929+
height: 640px;
930+
background-image: url(/images/model2.jpg);
931+
background-position: center 0px;
932+
background-repeat: repeat-y;
933+
background-attachment: fixed;
934+
margin-top: 100px;
935+
border-radius: 50%; }

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ <h1>Clothing Store</h1>
3838
<figure class="columns four"><img src="/images/model2.jpg"></figure>
3939
</div>
4040
</div>
41+
<h1>Clothing Store</h1>
42+
<hr>
43+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa.</p>
44+
<hr>
45+
<div class="large-window"></div>
4146
</article>
4247
<div style="height: 2000px"></div>
4348
</section>

index.jade

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,17 @@ html(lang="en")
6161
figure.columns.four
6262
img(src="/images/model2.jpg")
6363

64-
64+
65+
h1 Clothing Store
66+
67+
hr
68+
69+
p Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa.
70+
71+
hr
72+
73+
.large-window
74+
6575

6676
div(style="height: 2000px")
6777

readme.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ <h2>Video 3 - &ldquo;Landing Elements&rdquo;</h2>
3434
</ul>
3535

3636

37+
<h2>Video 4 - &ldquo;The Periscope&rdquo;</h2>
38+
39+
<p><a href="https://youtu.be/uYPdA_SFSDw"><img src="https://i.ytimg.com/vi/uYPdA_SFSDw/mqdefault.jpg"><br>Watch on YouTube</a></p>
40+
41+
<ul>
42+
<li>Grab the code we wrote in this video. <a href="https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.3">Get the code</a>.</li>
43+
</ul>
44+
45+
3746
<hr />
3847

3948
<p><em>If this stuff is helpful, consider subscribing to my <a href="https://www.youtube.com/user/DevTipsForDesigners">YouTube Channel</a></em></p>

readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ Releases correspond to the videos. Visit the releases page on this repo to find
2929

3030
- Grab the code we wrote in this video. [Get the code](https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.2).
3131

32+
33+
34+
## Video 4 - "The Periscope"
35+
36+
<a href="https://youtu.be/uYPdA_SFSDw"><img src="https://i.ytimg.com/vi/uYPdA_SFSDw/mqdefault.jpg"><br>Watch on YouTube</a>
37+
38+
- Grab the code we wrote in this video. [Get the code](https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.3).
39+
40+
3241
---
3342

43+
3444
_If this stuff is helpful, consider subscribing to my [YouTube Channel](https://www.youtube.com/user/DevTipsForDesigners)_

0 commit comments

Comments
 (0)