Check out example codes for "jquey check css style". It will help you in understanding the concepts better.

Code Example 1

$('#yourElement').css('position') == 'absolute'

Learn ReactJs, React Native from akashmittal.com