CSS Manual Change div aspect

Source: Internet
Author: User

This example code allows the div to change the size manually

Effect Experience: http://hovertree.com/code/css/resize.htm

The code is as follows:

<!DOCTYPE HTML><HTML><Head><title>How to ask</title><BaseTarget= "_blank" /><style>Div{Background-color:#f0f0f0;Border:Solid Red 1px;padding:10px 40px;width:300px;Resize:both;Overflow:Auto;}</style></Head><Body><Div>The Resize property specifies whether the element size can be adjusted by the user-how to ask</Div><P><b>Comments:</b>Firefox 4+, Safari, and Chrome support resize properties.</P><ahref= "Http://hovertree.com/h/bjaf/css3_resize.htm">Reference</a><ahref= "Http://hovertree.com/code/css/resize.htm">Address of this article</a></Body></HTML>                        

Reference: CSS3 's Resize property

More Effects: http://www.cnblogs.com/jihua/p/webfront.html

CSS Manual Change div aspect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.