is it possible to change the class name of css class. for example if i have classA and classB i want to change the class name of classA to classB. the purpose of this is to inherit all the characteristics from classA and classB
http://jsfiddle.net/y8h4qn3L/2/
.classA{
position:absolute;
width:25px;
height: 25px;
border-radius: 10px;
background: #f57df5;
}
.classB{
-webkit-transform : rotate(30deg) translatex(120px);
background-color:black;
}
<div class="classA"></div>