Skip to content

Instantly share code, notes, and snippets.

@MaySnow
Created October 10, 2012 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaySnow/3864591 to your computer and use it in GitHub Desktop.
Save MaySnow/3864591 to your computer and use it in GitHub Desktop.
一个层悬浮于另一个层上面
一个层position:absolute
一个层 position: relative;
然后再根据z-index控制谁在上面
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment