Note that there are some explanatory texts on larger screens.

plurals
  1. POz-index in mobile not working
    primarykey
    data
    text
    <p>Is there a specific way of formatting z-index for mobile? Does it even work?</p> <p>www.backwards.ca/resume</p> <p>This is what I'm working on.. In mobile, the body (.info-win) is supposed to scroll up UNDER the header(.name-win), but it's not working</p> <p>This is the code:</p> <pre><code>body{ background:#EEE; margin-top:0; margin-left:0; } .container{ position:relative; top:0; left:0; width:100%; height:100%; padding-left:0; background:#EEE; } .name-win{ position:fixed; top:0; left:0; height:25%; width:100%; z-index:10000px; padding-left:5%; background:#EEE; -moz-box-shadow:-2px 0px 2px 3px rgba(200, 200, 200, 0.8); -webkit-box-shadow:-2px 0px 2px 3px rgba(200, 200, 200, 0.8); -o-box-shadow:-2px 0px 2px 3px rgba(200, 200, 200, 0.8); box-shadow:-2px 0px 2px 3px rgba(200, 200, 200, 0.8); } .scroll{ background:none; } .info-win{ position:relative; margin-top:25%; background:#FFFFFF; height:100%; width:100%; z-index:-1000px; min-height:500px; overflow:hidden; padding-bottom:20px; } .name-win h1{ font-family: 'Archivo Narrow', sans-serif; font-weight:700; max-width:200px; } #pic{ float:left; } #pic img{ width:60%; border:6px solid #fff; } .res_cont{ width:100%; } .contact h3{ margin-bottom:0px; font-family: 'Archivo Narrow', sans-serif; font-weight:700; } .contact p{ margin-top:0px; font-family: 'Archivo Narrow', sans-serif; font-weight:300; } .label{ height:33px; width:420px; padding-left:10px; margin-bottom:10px; } .label h2{ font-family: 'Archivo Narrow', sans-serif; color:#fff; text-shadow:1px 1px #555; } .res_cont p{ font-family: 'Archivo Narrow', sans-serif; color:#555; margin-left:25px; } .res_cont span{ font-style:italic; color:#999; } #objective_label{ background-color:#4F8AFF; } #rs_label{ background-color:#CC0000; } #about_label{ background-color:#00CC66; } #education_label{ background-color:#FF6633; } #links_label{ background:#E4B434 } #links_ul li{ font-family: 'Archivo Narrow', sans-serif; color:#666; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload