Coins arrondis et ombre portée en CSS
Box
Code :
-
<style type="text/css">
-
.shadow{
-
box-shadow: 7px 7px 8px #818181;
-
-webkit-box-shadow: 7px 7px 8px #818181;
-
-moz-box-shadow: 7px 7px 8px #818181;
-
filter: progid
XImageTransform.Microsoft.dropShadow(color=#818181, offX=7, offY=7, positive=true);
-
}
-
#box {
-
border-radius:7px;
-
line-height:48px;
-
width:200px;
-
height:50px;
-
background-color:#6B86A6;
-
text-align: center;
-
color: white;
-
line-height: 47px;}
-
</style>
-
<div id="box" class="shadow"><strong>Box</strong></div>
Ne fonctionne pas sous IE
No Comments Flux des commentaires
Add a Comment