SyntaxFix
Write A Post
Hire A Developer
Questions
You can add style for :after a like html code. For example:
var value = 22; body.append('<style>.wrapper:after{border-top-width: ' + value + 'px;}</style>');