Egs to Example (#32648)

This commit is contained in:
Chris Hyatt
2019-04-14 00:39:59 -04:00
committed by The Coding Aviator
parent bc84a7eb67
commit e2b9b19b49

View File

@@ -12,7 +12,7 @@ To return the value of a specified CSS property, use the following syntax:
$(selector).css(propertyName);
```
For eg:
Example:
```js
$('#element').css('background');
```
@@ -24,7 +24,7 @@ To set a specified CSS property, use the following syntax:
$(selector).css(propertyName,value);
```
For eg:
Example:
```js
$('#element').css('background','red');