- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
`#star:before{
content:””;
position:absolute;
height:100px;
width:100px;
margin-top:200px;
background:red;</p>
<pre><code> -moz-transform:rotate(30deg);
}
#star:after{
content:””;
position:absolute;
height:100px;
width:100px;
background:red;
margin-top:200px;
-moz-transform:rotate(-30deg);
}
#shadow{
box-shadow:0 4px 5px black;
}
</code></pre>
<div id=”shadow”>
<div id=”star”></div>
</div>
<p>`
i wrap star in shadow div, is it possible to make shadow of this ????
Perhaps a Codepen would be better.
I think you are after a CSS filter : http://codepen.io/Paulie-D/pen/sEgdy
Support is very limited at the moment: http://caniuse.com/#feat=css-filters
Updated my post.
hey Paulie:D
thanks for help.
I’m using mozilla 12 and filter property support 21 and above thanks btw .