Thank you for contacting us.
It doesn't matter whether it is an external css or not. In both cases you can use this code to get the style:
This will write the value into the log.
Let me know if this helps.