As people have said in the comments, this question is something that you might have easily found out for yourself. Since we’re here anyway though, here’s the answer:
The .css() function can read both inline styles and separate styles (via link or style tags), but when it does write styles (when it has a parameter), it only modifies the inline style of the element.
You can find more about this here
solved Can jQuery css get inline styles also?