I have a jquery/css problem, I have a grid that I am overlay across my website for an attempt at making an ARG codebreaker web browser game, however I'm have compatibility issues with the fact that CSS doesn't recognize
<div id ="grid" class="grid-container" style="pointer-events:none; touch-action: none;">
<div id ="symbol1" class="null"></div>
<div id ="symbol2" class="null"></div>
<div id ="symbol3" class="null"></div>
<div id ="symbol4" class="null"></div>
<div id ="symbol5" class="null"></div>
<div id ="symbol6" class="null"></div>
<div id ="symbol7" class="null"></div>
<div id ="symbol8" class="null"></div>
<div id ="symbol9" class="null"></div>
<div id ="symbol10" class="null"></div>
</div>
The idea is to overlay faint symbol on game screen that are changed by jquery and you can click on items below it. This now works for all browsers except Iexplore 10-11 which I wish to support.
This div grid is declared in css as
.grid-container {
position: absolute;
left: -20px;
width: 100%;
height: 80%;
display: inline-grid;
grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto;
padding: 10px;
z-index: 2;
pointer-events:none;
touch-action: none;
width:100%;
height:100%;
}
.grid-item {
padding: 10px;
height: 60px;
width: 60px;
font-size: 15px;
text-align: center;
z-index: 2;
position: absolute;
touch-action: none;
pointer-events: none;
}
Each symbol is a subclass of grid item and the div's are changed to the right subclass of div item randomly but with secret sequence.
Obviously IE10-11 do not support grid-template colums: so how can I be change the grid to still work this way and a way compatible for IExplore ?
Example This is how I want website look. but instead of it being 12 grid space it is 20x10 grid 20 across 10 deep.
A note I wish to add is that, I must have it so that it can change based on page load, random symbols but the sequence imports a javascript variable from another location, this is best way of doing this method I think. I cannot just do by overlaying image. I have to edit the div's upon page load to be the symbol I want.
What is best method for this ?