I think I can solve your problem. I have a example code, you can try it in your work. Follow this code.
<script> $(document).ready(function(){ var CssArray = [{'background-color':'rgb(197, 197, 189)','color':'#098e81','text-align':'center','padding-top':'120px','font-size':'25px'}]; $("#divId").css(CssArray[0]); }); </script>
if you faced any problem comment me here.
Question and answer is powered by AnsPress.io