The corresponding HTML code
<!doctype html>"Zh-hans">"Utf-8"> <meta name="Viewport"Content="width=device-width, User-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="x-ua-compatible"Content="Ie=edge"> <link rel="stylesheet"href="Lib/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet"href="Css/galary.css"> <title>gallery</title>class="Banner"> 'M MATHIEU richard</div> <divclass="Img-gallery"> <divclass="Row"> <figureclass="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/1/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/4/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/2/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/3/"alt="IMG1"/> <figcaption> class="Row"> <figureclass="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/4/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/3/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/1/"alt="IMG1"/> <figcaption> class="Figure-item col-sm-3"> <a href="#"> "http://lorempixel.com/800/400/nature/2/"alt="IMG1"/> <figcaption> class="form-section"> "form"> <divclass="Form-group"> <input type="text" class="Form-control"Placeholder="Name"/> </div> <divclass="Form-group"> <input type="text" class="Form-control"Placeholder="Mail"/> </div> <divclass="Form-group"> <textareaclass="Form-control"Rows="3"Placeholder="Message"></textarea> </div> <divclass="Form-group"> <button type="Submit" class="btn Btn-default"> Submit </button> </div> </form> </div> <script src="Lib/jquery-2.1.4.min.js"></script> <script src="Lib/bootstrap/js/bootstrap.min.js"></script></body>
The corresponding CSS style code
a{Color:white; Text-Decoration:none;}. banner{margin-top:-40px; height:500px; Width: -%; Text-Align:center; Background-Size:cover; Background-image:url (http://images.forwallpaper.com/files/thumbs/preview/20/205186__ photo-close-up-snow-leaves-blur-bokeh-background-wallpaper_p.jpg);}.banner h1{Font-size:8. 6em; Font-Weight:bold; Color:white; Font-family:"Zeyada"; Padding-top:150px;}. Banner h2{Font-size:3. 3em; Color:white; Text-Align:center; Font-family:"Zeyada"; Margin-top:20px;}. figure-item{height:250px; position:relative; Overflow:hidden;}. figure-Item img{height:250px; Width: -%; Position:absolute; Top:0; Left:0;}. figure-Item figcaption{height:250px; Position:absolute; Width: -%; Background:url (http://gridelicious.net/themes/treble/demo/assets/images/css/thumb_over.png) no-repeat Center 150px Black;Top0; Left:-250px; Text-Align:center; Color:white; padding:5px; Opacity:0; Transition:all0. 7s;}. figure-item:hover figcaption{opacity:0.8; Top:0; Left:0;}. Form-section{Background-image:url (http://images.forwallpaper.com/files/thumbs/preview/20/205186__ photo-close-up-snow-leaves-blur-bokeh-background-wallpaper_p.jpg);background-Size:cover; Text-Align:center; padding:30px;}. Form-Section h1{color:white; Font-size:8. 5em; }.form-Section form{Max-width:600px; margin:30px Auto; }.form-Section form input{background-color:rgba (0,0,0,0.2); }.form-Section form textarea{background-color:rgba (0,0,0,0.2);}. Form-Section form button{display:block; Width: -%; }
The realization of Photo wall Gallery