mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
demos/resizable: limited background-position fix to resizable element that needs it (with ui-widget-header class)
This commit is contained in:
parent
f401cdc0a8
commit
b5eb51943e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user