Internet Explorer Hacks: CSS Tutorial (Day 11 of CSS3 in 30 Days)

  • Post comments:8 Comments



Ugh, yes, Internet Explorer is still a thing. Luckily, with CSS, you can bend it to your will, or just straight up give it the Vulcan Death Grip.

In this tutorial, you will create IE Conditional Comments. Only IE will recognize this comment, which means you can do anything to manipulate the CSS specifically for IE!

⭐️Files you need ⭐️
💻Internet Explorer Hacks Code: https://www.dropbox.com/sh/qp15sn3jngeun1x/AACcoyR63yTMFw9NqS93aGUCa?dl=0
💻All tutorials in this series need this “_theme-styles” directory (only download once): https://www.dropbox.com/sh/890hx6ke34oovaz/AAByJ-jb-H5pWuIUx7t_GvQqa?dl=0

This video works as a stand-alone tutorial but is also day 11 of CSS3 in 30 Days. For the rest of the series, check out this playlist: https://www.youtube.com/playlist?list=PLWKjhJtqVAbl1AfjiGyYxwpdAPi5v-1OU

CSS3 in 30 Days is developed by Brad Hussey. Check out his website for more great tutorials: https://codecollege.ca/

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

source

This Post Has 8 Comments

  1. Drew Pyke

    this does not work for IE 10 and up.
    I'm really struggling to find a fallback/workaround for my CSS Grids which looks great in normal browsers but failing in IE
    Can't use @supports either! (IE does not support)
    If anyone knows of a hack please let me know!!!

  2. John Jay

    I must be missing something. ie.css supplied in dropbox is not the same file you have shown on screen. I typed it out, but just want to make sure I'm not going crazy.

  3. Deepak Surya

    The files don't contain any of the code that you're showing bro

  4. Slimer

    Please help, when ever i use the code with the – – it doesn't work and when i remove them it does work but ruins how other browsers look, idk whats the problem!? here's the code

    <!–[if IE]>

    <style type="text/css">

    .footer{

    text-align: center;

    color:white;

    font-size: 11px;

    top: 50%;

    left: 50%;

    /* bring your own prefixes */

    transform: translate(-0%, -55%);

    }

    .span{

    -webkit-user-select: none; /* Safari */

    -moz-user-select: none; /* Firefox */

    -ms-user-select: none; /* IE10+/Edge */

    user-select: none; /* Standard */

    margin-right: -3.5px;

    }

    </style>

    <![endif]–>

  5. Business Opportunity in Ruvol

    I have invented a Board Game [still unpublished and not yet out in the market] that I believe is guaranteed to be as challenging and exciting as CHESS. I called it “RUVOL.”

    It is my hope that one day Ruvol may surpass chess as the “Number One Board Game in the World.”

    The weakness of chess is it always starts in fixed positions that the opening moves become “memorizable.” In fact, not a few have so mastered the moves that they can play against their opponents “blindfolded.” It is for this very reason that the great Bobby Fischer introduced his so-called “Fischer Random Chess,” where the starting position of the pieces is “randomized” to make the memorization of openings impracticable. Fortunately, it is also for this reason that I invented Ruvol where “every game” has been calculated to be a challenging one to play.

    HOW IS RUVOL PLAYED and HOW YOU CAN MONETIZE IT?

    I detailed everything in my YouTube video. Here is the link: https://www.youtube.com/watch?v=jcqth0m3-R0

    BIG MONEY POTENTIAL IN RUVOL!

    It is worthwhile to note that the people who play chess will be the same people who will play Ruvol. In my Google search, I learned there are around 800 million chess players in the world. Even just a small percentage of these 800 million is good enough to earn big money from Ruvol either as an ONLINE GAME BUSINESS or as a PHYSICAL PRODUCT DISTRIBUTOR.

    You may contact me at: rodolfovitangcol@gmail.com.

    Thanks and God bless!

    RODOLFO MARTIN VITANGCOL
    The Ruvol Inventor

Leave a Reply