Check out example codes for "css important override". It will help you in understanding the concepts better.

Code Example 1

td {height: 50px !important;}

Code Example 2

/* Override CSS with existing !important rule */
$(document).ready(function() {
    $('#ID').attr('style', 'background: #095540 !important;');
});

Learn ReactJs, React Native from akashmittal.com