Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS inset shadow in ie9

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #41394
    Manojnaanak
    Participant

    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

    #117740
    Vermaas
    Participant

    IE9 supports box-shadow (unprefixed). So:

    div { box-shadow: inset 0 0 7px #000; }

    #117772
    Manojnaanak
    Participant

    sorry vermaas , i could not understand what u said….
    :(

    #117773
    Watson90
    Member

    @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 “”)

    #117876
    Manojnaanak
    Participant

    ok…watson

    #117885
    Watson90
    Member

    Ahh right I see. I don’t know why it wouldn’t have worked for the guy then as he did everything correct :/

    #117889
    Watson90
    Member

    Yeah, maybe his Markup was incorrect somewhere or it was making IE go into a previous version of itself, we’ll never know :)

    #117902
    Manojnaanak
    Participant

    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

    #117906
    Watson90
    Member

    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.

    #117911
    Vermaas
    Participant

    @manojnaanak: You could try: http://css3pie.com/

    But ask yourself the question: do you need support for IE8 for things like IE8?

    #118047
    Manojnaanak
    Participant

    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)

    :|

    #149662
    Wizzard
    Participant

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘CSS’ is closed to new topics and replies.