Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  
  ul{list-style:none;}
  a{text-decoration:none;}
  body{background:#777;}
  
  
span.cash_warn{
    color: #fff;
}
  
</style>
</head>
<body>
  
  
<div class=" friends-shadow detailreward3 detailreward"  style="position:absolute;
 height:71px;  width:238px; left: 453px; top: 40px; padding:20px; z-index:99; font:
 bold 11px Helvetica, Arial, sans-serif;">
<span class="cash_warn">
text
</span>
<br /> <br />
 more text
</div>
  
  
  <div class=" friends-shadow detailreward3 detailreward"  style="position:absolute;
 height:71px;  width:238px; left: 453px; top: 90px; padding:20px; z-index:99; font:
 bold 11px Helvetica, Arial, sans-serif;">
<span class="cash_warn">
text
</span>
<br /> <br />
 more text
</div>
  
  
  <div class=" friends-shadow detailreward3 detailreward"  style="position:absolute;
 height:71px;  width:238px; left: 453px; top: 140px; padding:20px; z-index:99; font:
 bold 11px Helvetica, Arial, sans-serif;">
<span class="cash_warn">
text
</span>
<br /> <br />
 more text
</div>
  
  
  
</body>
</html>
 
$('.cash_warn').each(function(){
  
  var spanPos = $(this).position();
  $(this)
    .fadeTo(1500,0)
    .clone()
    .appendTo($(this).parent())
    .addClass('spanClone')
    .hide()
    .css({position:'absolute', left:spanPos.left, top: spanPos.top, color: 'red'})
    .fadeTo(1500,1);
  
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers