html - Fixed columns of the same size positioned vertically -
i have 100% width , height background image home page, , 100% wide subpages below different height.
each of subpages has 2 columns - 1 left 100% height fixed image, , 1 right content. scrolling content not move image until begin moving subpage below it.
i hope understand mean, it's pretty common web design far know.
the problem can't working - fixed column @ top of whole website, can't position them 1 below another.
how this?
<div class="row"> <div class="col-xs-8" style="background-color: #a9a8a8; min-height: 100%;">content goes here...</div> <div class="col-xs-3 col-xs-offset-1" style="position: relative;"> <div class="col-xs-3" style="position: fixed; top: 0; height: 100%;"> <img src="/assets/image/fixedimage.png"> </div> </div> </div>
this fiddle: https://jsfiddle.net/el12rydd/
, effect want obtain more or less (scroll down): http://ostro.tv
Comments
Post a Comment