File tree Expand file tree Collapse file tree 6 files changed +126
-7
lines changed Expand file tree Collapse file tree 6 files changed +126
-7
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ figure
1111 margin : auto
1212
1313.content
14+ position : relative
15+ z-index : 2
16+ background : white
17+ margin-bottom : 400px
18+
1419 article
1520 padding : 100px 0
1621 max-width : 640px
2227
2328
2429
30+
2531// Parallax
2632
2733.bird-box
189195
190196 .post-3
191197 transform : translate(-100px , 20px )
198+
199+
200+ // footer
201+
202+ footer
203+ background : black
204+ color : white
205+ padding : 40px 0
206+ position : fixed
207+ bottom : 0
208+ width : 100%
209+
210+ .footer-stuff
211+ max-width : 640px
212+ margin : 0 auto
213+
214+ a
215+ color : white
216+
217+ input
218+ color : #666
Original file line number Diff line number Diff line change @@ -866,11 +866,16 @@ h1 {
866866figure {
867867 margin : auto; }
868868
869- .content article {
870- padding : 100px 0 ;
871- max-width : 640px ;
872- margin : 0 auto;
873- text-align : center; }
869+ .content {
870+ position : relative;
871+ z-index : 2 ;
872+ background : white;
873+ margin-bottom : 400px ; }
874+ .content article {
875+ padding : 100px 0 ;
876+ max-width : 640px ;
877+ margin : 0 auto;
878+ text-align : center; }
874879
875880img {
876881 max-width : 100% ; }
@@ -1005,3 +1010,18 @@ img {
10051010 z-index : 2 ; }
10061011 .blog-posts .post-3 {
10071012 transform : translate (-100px , 20px ); }
1013+
1014+ footer {
1015+ background : black;
1016+ color : white;
1017+ padding : 40px 0 ;
1018+ position : fixed;
1019+ bottom : 0 ;
1020+ width : 100% ; }
1021+ footer .footer-stuff {
1022+ max-width : 640px ;
1023+ margin : 0 auto; }
1024+ footer a {
1025+ color : white; }
1026+ footer input {
1027+ color : # 666 ; }
Original file line number Diff line number Diff line change @@ -87,8 +87,38 @@ <h5>Post Title</h5><img src="/images/posts/three.jpg">
8787 </ div >
8888 </ div >
8989 </ article >
90- < div style ="height: 2000px "> </ div >
9190 </ section >
91+ < footer >
92+ < div class ="row footer-stuff ">
93+ < div class ="columns three "> < strong > FIND US ON</ strong >
94+ < ul >
95+ < li > < a href =""> Twitter</ a > </ li >
96+ < li > < a href =""> Facebook</ a > </ li >
97+ < li > < a href =""> Pinterest</ a > </ li >
98+ < li > < a href =""> Instagram</ a > </ li >
99+ </ ul >
100+ </ div >
101+ < div class ="columns three "> < strong > OTHER SHOPS</ strong >
102+ < ul >
103+ < li > < a href =""> Red Robin</ a > </ li >
104+ < li > < a href =""> Emerald Eagle</ a > </ li >
105+ < li > < a href =""> Crimson Crane</ a > </ li >
106+ < li > < a href =""> Auburn Abbot</ a > </ li >
107+ </ ul >
108+ </ div >
109+ < div class ="columns six ">
110+ < p > < strong > Sign Up for the newsletter</ strong > Lorem ipsum dolor sit amet, consectetur adipisicing elit.</ p >
111+ < form class ="row ">
112+ < div class ="columns eight ">
113+ < input type ="email " placeholder ="Your Email " class ="u-full-width ">
114+ </ div >
115+ < div class ="columns four ">
116+ < input type ="submit " class ="button-primary ">
117+ </ div >
118+ </ form >
119+ </ div >
120+ </ div >
121+ </ footer >
92122 < script src ="/js/jquery-2.1.3.min.js "> </ script >
93123 < script src ="/js/functions.js "> </ script >
94124 </ body >
Original file line number Diff line number Diff line change @@ -116,7 +116,33 @@ html(lang="en")
116116 p Duis aute irure dolor in reprehenderit.
117117 p: a.button ( href ="" ) Read More
118118
119- div( style ="height: 2000px" )
119+ footer
120+ .row.footer-stuff
121+ .columns.three
122+ strong FIND US ON
123+ ul
124+ li: a( href ="" ) Twitter
125+ li: a( href ="" ) Facebook
126+ li: a( href ="" ) Pinterest
127+ li: a( href ="" ) Instagram
128+
129+ .columns.three
130+ strong OTHER SHOPS
131+ ul
132+ li: a( href ="" ) Red Robin
133+ li: a( href ="" ) Emerald Eagle
134+ li: a( href ="" ) Crimson Crane
135+ li: a( href ="" ) Auburn Abbot
136+
137+ .columns.six
138+ p <strong >Sign Up for the newsletter</strong > Lorem ipsum dolor sit amet, consectetur adipisicing elit.
139+
140+ form.row
141+ .columns.eight
142+ input.u-full-width ( type ="email" placeholder ="Your Email" )
143+ .columns.four
144+ input.button-primary ( type ="submit" )
145+
120146
121147 script( src ="/js/jquery-2.1.3.min.js" )
122148 script( src ="/js/functions.js" )
Original file line number Diff line number Diff line change @@ -69,6 +69,14 @@ <h2 id="video7-floatingelements">Video 7 - “Floating Elements”</h2>
6969< li > Grab the code we wrote in this video. < a href ="https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.6 "> Get the code</ a > .</ li >
7070</ ul >
7171
72+ < h2 id ="video8-revealedfooter "> Video 8 - “Revealed Footer”</ h2 >
73+
74+ < p > < a href ="https://youtu.be/VH0iYda6KNs "> < img src ="https://i.ytimg.com/vi/VH0iYda6KNs/mqdefault.jpg "> < br > Watch on YouTube</ a > </ p >
75+
76+ < ul >
77+ < li > Grab the code we wrote in this video. < a href ="https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.7 "> Get the code</ a > .</ li >
78+ </ ul >
79+
7280< hr />
7381
7482< p > < em > If this stuff is helpful, consider subscribing to my < a href ="https://www.youtube.com/user/DevTipsForDesigners "> YouTube Channel</ a > </ em > </ p >
Original file line number Diff line number Diff line change @@ -62,6 +62,14 @@ Releases correspond to the videos. Visit the releases page on this repo to find
6262- Grab the code we wrote in this video. [ Get the code] ( https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.6 ) .
6363
6464
65+ ## Video 8 - "Revealed Footer"
66+
67+ <a href =" https://youtu.be/VH0iYda6KNs " ><img src =" https://i.ytimg.com/vi/VH0iYda6KNs/mqdefault.jpg " ><br >Watch on YouTube</a >
68+
69+
70+ - Grab the code we wrote in this video. [ Get the code] ( https://github.com/DevTips/Parallax-on-the-Web-DevTips-/releases/tag/v0.7 ) .
71+
72+
6573---
6674
6775
You can’t perform that action at this time.
0 commit comments