Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <span id='votings'>
    <span class='vote upvoted'></span>1
    <span class='vote downvote'></span>2
</span>
</body>
</html>
 
.vote{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    cursor: pointer;
    vertical-align: middle;
   display: inline-block;
}
.upvote{
    border-bottom: 10px solid #7d7d7d;
}
.downvote{
    border-top: 10px solid #7d7d7d;
}
.upvoted{
    border-bottom: 10px solid teal;
}
.downvoted{
    border-top: 10px solid #ab102f;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
fcalderanpro
0viewers