Skip to content

Instantly share code, notes, and snippets.

@trumball
Created September 13, 2013 13:58
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 trumball/6551102 to your computer and use it in GitHub Desktop.
Save trumball/6551102 to your computer and use it in GitHub Desktop.
including little arrows pointing from one section to the top of the following section
.section {
position: relative;
width:100%;
min-height:200px;
}
.section1 {
background: #88b7d5;
}
.section2 {
background: #bfb;
}
.section:before {
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
margin-left: -30px;
border-width: 30px;
bottom: -60px;
z-index: 5;
}
.section1:before {
border-top-color: #88b7d5;
}
.section2:before {
border-top-color: #bfb;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment