I would not copy the "style" but assign a class.
In this example you can see.
The grandfather has the wide calse80. Father wide class30. The son should occupy the width of the father. But I have assigned the class width80 by addClass()
thus occupying 80% of his father. (What you can not do is that the child occupies more than the father to look like grandfather, for example)
I've done it for you, but if you want the son to have the same style as the father, you just have to assign him a specific class that contains that style. Both father and son (widht, colors, typographies, ...)
$(document).ready(function(){
$(".caja-hijo").addClass("ancho80");
})
.ancho80{
width:80%;
}
.ancho30{
width:30%;
}
.contenedor-abuelo{
background-color:red;}
.caja-padre{
background-color:green;
}
.caja-hijo{
background-color:blue;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="contenedor-abuelo ancho80">
<div class="caja-padre ancho30">
<div class="caja-hijo">caja-hijo</div>
</div>
<div class="caja-padre ancho30">
<div class="caja-hijo">caja-hijo</div>
</div>
<div class="caja-padre ancho30">
<div class="caja-hijo">caja-hijo</div>
</div>