Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
「position:fixedの起点を親要素にするCSS」のCSS
#main{
width:70%;
float:left;
}
#sidebar{
width:30%;
position:fixed;
margin-left:70%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment