HTML CSS examples for CSS Property:box-shadow
Box-shadow for section
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> * {<!-- w w w.j a v a 2 s . c o m--> padding:0; margin:0; } .top-bar { background-color:Chartreuse; height:51px; box-shadow:0px 6px 15px green; position:relative; } .paragraph-container { margin:0 auto; } #top-bar-paragraph { text-align:center; margin-top:11px; font-family:'Roboto', sans-serif; font-weight:bold; font-size:15px; opacity:0.8; } .project-name-class { background-color:yellow; height:201px; } .col-md-8 img { margin-top:31px; width:100%; } </style> </head> <body> <section class="top-bar"> <div class="container"> <p id="top-bar-paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing el<a href="https://www.wikipedia.org/" target="_blank">Lorem ipsum d</a> </p> </div> </section> <section class="project-name-class"> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png" alt="image"> </div> </div> </div> </section> </body> </html>