Grow your CSS skills. Land your dream job.

IE 10 Hack

  • # June 21, 2013 at 8:18 am

    If Jonathan’s comment is what @ananda is after not, but he/she is awfully quiet :P

    # June 21, 2013 at 8:32 am

    Well, it kind of is. Actually it really depends on how would you define a CSS hack.

    If a hack is using something not on its principal purpose, then the following snippet definitely is one:

    _::-ms-reveal, .selector { }

    This doesn’t aim at styling the eye-input pseudo-element but the .selector element only for browsers which understand the eye-input pseudo-element. So ::-ms-reveal acts as a filter, not as a regular CSS selector.

    # June 21, 2013 at 8:40 am

    It’s a pseudo class isn’t it, so it’s not a hack to use it.

    # June 21, 2013 at 8:44 am

    Oops yes element not class.

    Dammed autocorrect :-)

    # June 30, 2013 at 4:26 am

    bon! :)

    # June 30, 2013 at 3:35 pm

    maybe not useful anymore :

     :before, :after  {content:'IE8 ...'}
    ::before, ::after {content:'Not IE8 !' }
    # June 30, 2013 at 5:12 pm

    Hey, nice catch. Not sure we can do much with this but I’ll keep this in mind. ;)

    # June 30, 2013 at 5:28 pm

    It could be an alternative for (playing around with layout, position and z-index)

    • multiple background (at least 2 extras) injected via url() for IE8
    • or background-size : cover/contain
    • box-shadow from png
    • whatever else

    Still kind of late to talk about it :)

Viewing 9 posts - 16 through 24 (of 24 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".