Hi I would like to use AngularJS to control the css dynamically.
.graph-wrapper { border-top-left-radius: 200px; border-top-right-radius: 200px; height:200px; width:100%; overflow:hidden; border:2px dashed gold; border-bottom: none; } .graph-wrapper:after{ content:''; display:block; width: 80%; height: 100%; background:gold; -webkit-animation: fill 4s ease 1; animation: fill 4s ease 1; } @-webkit-keyframes fill { from { width:0; } to { width:80%; } } @keyframes fill { from {width:0;} to {width: 80%;} }
and I want to use angularJS to change width value of .graph-wrapper:after. How can I do that?
Thank you