Create an even shadow on a full-width element - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Create an even shadow on a full-width element

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
h1 {<!--  w w  w  .  j  av a2  s.co m-->
   margin:21px -21px;
   padding:11px 31px;
   background-color:Chartreuse;
   box-shadow:0 0 11px black;
}
</style> 
 </head> 
 <body> 
  <h1>Lorem </h1> 
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper mo</p>  
 </body>
</html>

Related Tutorials