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>
  
  <div class="ska" data-text="Yoink">Yoink</div>
  
</body>
</html>
 
body {
  font-size: 64px;
  font-family: trebuchet,arial,sans;
  font-weight: bold;
}
.ska {
  background: #000000;
  color: #ffffff;
  position: relative;
  display: inline-block;
  border: 5px solid #999999;
  margin-top: 48px;
 
}
.ska:after {
  /*content: "Yoink";*/
  content: attr(data-text);
  display: block;
  position: absolute;
  top: 0px;
  height: 50%;
  overflow: hidden;
  background: #ffffff;
  color: #000000;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers