может, лучше работать со стилями?
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
var b = $('.btn'), cls = {}, str = '';
b.click(function() {
cls = $(this).data("cls");
$('.bSm').css(cls);
});
});
</script>
</head>
<body>
<style>
body{
background-color: #EEE8AA;
}
.bSm {
display: block;
background: #fff;
width: 150px;
height: 150px;
border-radius: 8px;
margin: 0 auto;
}
</style>
<button class="btn" data-cls='{"width": "450px", "height": "675px", "border-radius": "38px"}'>1</button>
<button class="btn" data-cls='{"width":"267px","height":"553px","border-radius":"18px"}'>2</button>
<button class="btn" data-cls='{"background-color":"green"}'>5</button>
<button class="btn" data-cls='{"background-color":"red"}'>6</button>
<div class="bSm"></div>
<div class="bSres"></div>
</body>
</html>