Search
 
SCRIPT & CODE EXAMPLE
 

CSS

drop shadow image css

filter: drop-shadow(0px 10px 3px black);
Comment

drop shadow css

filter: drop-shadow(30px 10px 4px #4444dd);
drop-shadow(offset-x offset-y blur-radius color)
Comment

creating drop shadow css

<html>
<style type="text/css">
.box {
     position: relative;
     width: 400px;
     height: 300px;
     background-color: #fff;
     box-shadow: 0 1px 5px rgba(0,0,0,0.25), 0 0 50px rgba(0,0,0,0.1) inset;
     border-radius: 1%     1%     1%     1% /     1%     1%     1%     1%;
}
.box:after {
      position: absolute;
      width: 64%;
      height: 12%;
      left: 18%;
      border-radius: 50%;
      z-index: -1;
      bottom: 0%;
      content: "";
      box-shadow: 0 50px 24px rgba(0,0,0,0.24);
}
</style>
<body>
    <div class="box">
    <img src="img.jpg" />
    </div>
</body>
<html>
Comment

add drop shadow css

filter: drop-shadow(x-offset,  y-offset, blur, color);
Comment

PREVIOUS NEXT
Code Example
Css :: aling cente 
Css :: flex one whole width 
Css :: check if swap is working 
Css :: size carousel bootstrap 4 
Css :: how to include one css file in another 
Css :: checkbox input in css 
Css :: css animation delay 
Css :: css photo circle 
Css :: keeping elements of container in center 
Css :: box-shadow 
Css :: underlined style for a link 
Css :: css disable mouse events 
Css :: add border to table css 
Css :: before css font awesome 
Css :: gameloop programming language 
Css :: faire un fond fade to transparent css 
Css :: shadow on hover class on card bootstrap 
Css :: sm size website 
Css :: npm scss 
Css :: css grid reverse column order 
Css :: css text vertical spacing 
Css :: nth-child() css 
Css :: css underline 
Css :: css jagged edges 
Css :: text area focus css 
Css :: a4 pagw size css 
Css :: centos 8 cron on reboot 
Css :: css selection 
Css :: contenteditable new line 
Css :: no hover effect css 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =