{"id":21081,"date":"2017-04-22T22:17:29","date_gmt":"2017-04-22T22:17:29","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=21081"},"modified":"2017-04-22T22:17:29","modified_gmt":"2017-04-22T22:17:29","slug":"css-resize-how-to-use-it-and-how-to-know-when-an-element-is-resizable","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/css-resize-how-to-use-it-and-how-to-know-when-an-element-is-resizable\/","title":{"rendered":"CSS resize:  how to use it, and how to know when an element is resizable"},"content":{"rendered":"<h1>Anyone tutoring web design knows that CSS is practically a universe.  The tutor mentions CSS <span style=\"font-family:monospace\">resize<\/span>.<\/h1>\n<p>To make a div element resizable on a desktop, the CSS property <span style=\"font-family:monospace;font-size:120%\">resize<\/span> can be used.  For example, the resizable div<\/p>\n<div style=\"width:50%;resize:both;overflow:auto;color:#222277;background-color:#99aaee;font-size:120%;border-style:solid;border-color:black;\">This div is resizable:)<\/div>\n<p><\/p>\n<p>has inline style<\/p>\n<p style=\"font-family:monospace;font-size:120%;\">style=&#8221;width:50%;<span style=\"font-weight:bold\">resize:both;overflow:auto;<\/span>color:#222277;background-color:#99aaee;font-size:120%;border-style:solid;border-color:black;&#8221;<\/p>\n<p>In my experience, <span style=\"font-family:monospace;font-size:120%\">resize<\/span> must be used with <span style=\"font-family:monospace;font-size:120%\">overflow<\/span> in order to work.  I use <span style=\"font-family:monospace;font-size:120%\">overflow:auto<\/span> <\/p>\n<p>The little white square in the lower right corner, containing three oblique lines, lets you know the div is resizable.<\/p>\n<p>My reading suggests that ie may not support <span style=\"font-family:monospace;font-size:120%\">resize<\/span>.<\/p>\n<p>HTH:)<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/www.w3schools.com\/cssref\/css3_pr_resize.asp\">w3schools.com<\/a><\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anyone tutoring web design knows that CSS is practically a universe. The tutor mentions CSS resize. To make a div element resizable on a desktop, the CSS property resize can be used. For example, the resizable div This div is &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/css-resize-how-to-use-it-and-how-to-know-when-an-element-is-resizable\/\"> <span class=\"screen-reader-text\">CSS resize:  how to use it, and how to know when an element is resizable<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1631,837],"tags":[2274],"class_list":["post-21081","post","type-post","status-publish","format-standard","hentry","category-css","category-web-design","tag-css-resize"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=21081"}],"version-history":[{"count":23,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21081\/revisions"}],"predecessor-version":[{"id":21104,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21081\/revisions\/21104"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=21081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=21081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=21081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}