The CSS box-shadow property is used to apply shadow effects to elements. You can apply the horizontal shadow and the vertical shadow.
CSS Box Shadow
Example :
<html>
<head>
<title>Learn Css box shadow tutorials by aryatechno</title>
<style>
div {
width: 270px;
height: 80px;
padding: 13px;
background-color: #0000FF;
box-shadow: 8px 8px 4px #999999;
color:#FFFFFF;
}
</style>
</head>
<body>
<div>Applied box-shadow css property to a div element. </div>
</body>
</html>
Comments