You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code is below. It will pin my .one element, but ignores my attempt to pin .two and .three
<style type="text/css">
.one, .two, .three {
width: 100%;
height: 500px;
background-size: 100% auto;
position: relative;
}
.one {
z-index: 1 !important;
}
.two {
z-index: 11 !important;
}
.three {
z-index: 111 !important;
}
</style>
<div class="mymain">
<div>
This is a nav section.<br />
</div>
<div class="main">
<div class="one " >
<h2>Section 1</h2>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
</div>
<div class="two " >
<h2>Section 2</h2>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
</div>
<div class="three">
<h2>Section 3</h2>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
<p>Lorem ipsum dolar sit amet. Lorem ipsum blah blaah.</p>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script src="http://enterprise.blob.core.windows.net/microsoftcloud/pih/jquery.pin.js"></script>
<script>
$(".one").pin({containerSelector: ".main"})
$(".two").pin({containerSelector: ".main"})
$(".three").pin({containerSelector: ".main"})
</script>
The text was updated successfully, but these errors were encountered:
Code is below. It will pin my .one element, but ignores my attempt to pin .two and .three
The text was updated successfully, but these errors were encountered: