In this article, I will show you a nice box shadow style using CSS3 when we put mouse cursor on it. It is a simple box, but when mouse over happen it will show shadow and the radius on the bottom left.
Explain:
The important property for this article:
Then you have to create an HTML file to show this box style like this:
<html>
<head>
<title>Box Shadow Sample</title>
<style type="text/css">
.shadow-sample {
-moz-transition-duration: 0.8s;
-webkit-transition-duration:0.8s;
border: 1px solid #DDDDDD;
margin: 20px 10px;
padding: 10px;
width: 258px;
}
.shadow-sample a{
text-decoration:none;
}
.shadow-sample:hover{
border-bottom-left-radius:50% 35px;
box-shadow:-5px 10px 15px rgba(0,0,0,0.25);
position: relative;
}
#box{
margin:10px;
width:239px;
}
</style>
</head>
<body>
<div class="shadow-sample">
<div id="box">
<h1> Your Box Shadow Here!!!</h1>
</div>
</div>
</body>
</html>
You will see the result of this article in Figure 1.

Figure 1 - Box Shadow Effect
I hope you enjoyed, see you in the next article
Hut Samnang.
See the prices for this post in Mr.Bool Credits System below: