In css
tooltip:after {
width: 0;
z-index: 1;
margin-top: 147px;
right: -13px;
top: 15%;
}
tooltip:before {
width: 0;
z-index: 1;
margin-top: 147px;
right: -13px;
top: 15%;
}
In cshtml
<div class="tooltip" ng-mouseover="TitleHover()">
On mouseover event based on some condition, I need to change before/after margin-top value in AngularJS.
For example: based on condition, I want to change margin-top value to margin-top:200
. Please assist.