- This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 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.
Hello everyone,
please tell me there is any trick to run inset shadow (Ex: div{box-shadow:inset 0px 0px 7px #000}) in ie.
thanks in advance
IE9 supports box-shadow (unprefixed). So:
div { box-shadow: inset 0 0 7px #000; }
sorry vermaas , i could not understand what u said….
:(
@Vermass is basically letting you know that Internet Explorer 9 already allows an inset shadow.
I think your problem might have been that you wrote your code wrong as you don’t seem to end the `box-shadow` line in your example properly.
Try this;
div {
box-shadow: inset 0 0 7px #000;
}
[Open me in Internet Explorer 9](http://codepen.io/Watson90/pen/KfcFg “”)
ok…watson
Ahh right I see. I don’t know why it wouldn’t have worked for the guy then as he did everything correct :/
Yeah, maybe his Markup was incorrect somewhere or it was making IE go into a previous version of itself, we’ll never know :)
sorry guys,
you are saying right watson that was ie8 by mistake i wrote it ie9 even i knew that ie9 support it.
if you have any solution for ie8 then plz tell me.
thanks to all for paying attention
Hmm I’m not too sure about support in IE8 obviously but their could be a hack that I don’t know about. Otherwise I think the only option would be to use a fallback image but that’s not very clean.
@manojnaanak: You could try: http://css3pie.com/
But ask yourself the question: do you need support for IE8 for things like IE8?
Hello Vermaas & Watson,
actually my boss said to me it should be done any how. I want to do with css after implement
my Last option (IMAGE BACKGROUND)
:|
Hello guys!
Seems, it is impossible to apply a filter to create a gradient at the same time with inset shadow in IE9 :( But! We can use :after element with instet shadow :D