Skip to content

Instantly share code, notes, and snippets.

@stekhn
Created May 30, 2014 11:48
Show Gist options
  • Save stekhn/d1591f6e218c39f949a7 to your computer and use it in GitHub Desktop.
Save stekhn/d1591f6e218c39f949a7 to your computer and use it in GitHub Desktop.
CSS play button for videos
.playButton {
background-color: #888;
border-radius: 30px;
display: inline-block;
height: 60px;
left: 50%;
position: absolute;
margin-left: -30px;
top: 120px;
width: 60px;
}
.playButton:after{
border-color: transparent transparent transparent white;
border-style: solid;
border-width: 17px 0 17px 28px;
content: "";
display: block;
left: 20px;
margin: 0 auto;
position: absolute;
top: 13px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment