CSS box-shadow Property
<!-- main_leaderboard, all: [728,90][970,90][320,50][468,60] --> CSS box-shadow Property ❮ Previous Complete CSS Reference Next ❯ Example Add shadows to different <div> elements: #example1 { box-shadow: 5px 10px; } #example2 { box-shadow: 5px 10px #888888; } Try it Yourself » More "Try it Yourself" examples below. Definition and Usage The box-shadow property attaches one or more shadows to an element. Default value: none Inherited: no Animatable: yes. Read about animatable Try it Version: CSS3 JavaScript syntax: object .style.boxShadow="10px 20px 30px blue" Try it Browser Support The numbers in the table specify the first browser version that fully supports the property. Numbers followed by -webkit- or -moz- specify the first version that worked with a prefix. Property box-shadow 10.0 4.0 -webkit- 9.0 4.0 3...