Skip to content

Commit 867eb09

Browse files
committed
Position: Improve example with styling
Closes jquerygh-248 Thanks @michpetrov
1 parent 7e6b2fe commit 867eb09

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

entries/position.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,19 @@
5454
</argument>
5555
</signature>
5656
<example>
57+
<height>300</height>
5758
<desc>A simple jQuery UI Position example.</desc>
5859
<css><![CDATA[
60+
#targetElement {
61+
height: 200px;
62+
margin: 50px;
63+
background: #9cf;
64+
}
5965
.positionDiv {
6066
position: absolute;
6167
width: 75px;
6268
height: 75px;
63-
background: green;
69+
background: #080;
6470
}
6571
]]></css>
6672
<code><![CDATA[

0 commit comments

Comments
 (0)