Trying to find a way to retrieve `inline css` of an element if there is any **applied**. But no internal/external css applied on the element. For example-

```js
$('#get-inline').val( $('#myh1').css('padding-top') );
```

```css
#myh1{
  font-size: 20px;
  padding-top: 10px;
}
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

<h1 id="myh1" style="font-size:30px;">Heading 1</h1>
<input type="text" id="get-inline" />
```

In above code its retrieving the css applied using the `#myh1`. But i need it to return `null` or `""`. No `0` or `NaN` or anything else.

If i use `$('#myh1').attr('style');` it will return all inline css. But i need a way to get **specific** css i need to.

Is there way to achieve what i'm trying to? Please help

Looking for a jQuery solution.