HTML
Código: Selecionar todos
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div></div>
</body>
</html>
Código: Selecionar todos
div {
height: 100px;
width: 100px;
border-radius: 5px;
background-color: #ABCDEF;
}
Código: Selecionar todos
$(document).ready(function(){
$('div').dblclick(function(){
$(this).fadeOut('fast');
});
});