javascript - how to make a shadow in HTML canvas -


i need draw canvas rect shadow has shadows on 4 sides of rect, similar div has style "box-shadow":"0px 0px 5px 5px"

try this

<div style="box-shadow: 0 0 5px 5px red; height: 40px; width:100px;">     test </div> 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -