korih,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
.news {
border: 0px solid #FF0000;
transition: all .35s ease-out;
}
.right{
box-shadow: none;
margin-left:0;
transition: all .35s ease-out;
border: 1px dashed Gray; padding: 5px; height: 100px; width: 100px;
}
.active .right{
margin-left:60%;
box-shadow: inset 15px 0px 8px -10px rgba(163, 163, 163, 0.7 );
}
.active.news{
border: 10px solid #FF0000;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$(function(){
$(".news").click(function() {
$(this).toggleClass("active")
});
})
</script>
</head>
<body>
<div class="news"><div class="right">ok</div></div>
</body>
</html>