Image drop shadow using css3 - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image Shadow

Description

Image drop shadow using css3

Demo Code

ResultView the demo in separate window


<html>
 <head> 
  <style>
.shadow {<!--from   w w w  .  j  av  a  2 s .  c om-->
   -webkit-filter:drop-shadow( 4px 4px 3px Chartreuse );
   filter:drop-shadow( 4px 4px 3px yellow );
}
</style> 
 </head> 
 <body> 
  <img src="https://www.java2s.com/style/demo/Opera.png" alt="" class="shadow"> 
  <img src="https://www.java2s.com/style/demo/InternetExplorer.png" alt="">  
 </body>
</html>

Related Tutorials