Answers for "how to drop shadow css"

CSS
6

drop shadow css

filter: drop-shadow(30px 10px 4px #4444dd);
drop-shadow(offset-x offset-y blur-radius color)
Posted by: Guest on December-08-2020
3

image shadow css

<!Doctype>
<html>
<head>
  <style>
    .img {
      width: 400px;
      height: 200px;
      border:2px solid #fff;
      background: url(img/tiger.png) no-repeat;
      box-shadow: 10px 10px 5px #ccc;
      -moz-box-shadow: 10px 10px 5px #ccc;
      -webkit-box-shadow: 10px 10px 5px #ccc;
      -khtml-box-shadow: 10px 10px 5px #ccc;
    }
  </style>
</head>
<body>
  <div class="img"></div>
</body>
</html>
Posted by: Guest on May-01-2020
1

how to add shadow css

h1 {
  text-shadow: 2px 2px;
}
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language