I am trying to do something like in in sass:
provider-details {
        position: absolute;
        top: calc( #{$speciality-widget-top-offset} + #{$speciality-n-provider-details-gap} + #{attr(data-speciality-widget-height)});
        left: auto;
        right: $provider-details-right-offset;
        bottom: $providers-details-bottom-offset;
        max-height: 715px;
    }
I tried this too:
top: $speciality-widget-top-offset + $speciality-n-provider-details-gap + attr(data-speciality-widget-height);
but nothing is working. is there a way to calculate top with css attr() function in sass?
 
    