mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-02 02:05:01 -05:00
demos/resizable: limited background-position fix to resizable element that needs it (with ui-widget-header class)
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
||||
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
|
||||
<style type="text/css">
|
||||
#resizable, #also { width: 150px; height: 150px; padding: 0.5em; background-position: top left; }
|
||||
#resizable { background-position: top left; }
|
||||
#resizable, #also { width: 150px; height: 150px; padding: 0.5em; }
|
||||
#also { margin-top: 1em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
||||
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
|
||||
<style type="text/css">
|
||||
#resizable { width: 150px; height: 150px; padding: 0.5em; background-position: top left; }
|
||||
#resizable { width: 150px; height: 150px; padding: 0.5em; }
|
||||
.ui-resizable-helper { border: 1px dotted gray; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
||||
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
|
||||
<style type="text/css">
|
||||
#resizable { width: 160px; height: 90px; padding: 0.5em; background-position: top left; }
|
||||
#resizable { width: 160px; height: 90px; padding: 0.5em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
Reference in New Issue
Block a user