showing results for - "resizing div js"
Mira
22 Mar 2017
1<!doctype html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1">
6  <title>jQuery UI Resizable - Default functionality</title>
7  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <style>
10  #resizable { width: 150px; height: 150px; padding: 0.5em; }
11  #resizable h3 { text-align: center; margin: 0; }
12  </style>
13  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
14  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
15  <script>
16  $( function() {
17    $( "#resizable" ).resizable();
18  } );
19  </script>
20</head>
21<body>
22 
23<div id="resizable" class="ui-widget-content">
24  <h3 class="ui-widget-header">Resizable</h3>
25</div>
26 
27 
28</body>
29</html>
30