Using CSS to implement a beautiful submission form method

Source: Internet
Author: User
Very nice CSS to submit the form, let's see first

CSS code:

body {padding:50px 100px; font:13px/150% Verdana, Tahoma, Sans-serif;}    /* Tutorial */input, textarea {padding:9px;    Border:solid 1px #E5E5E5;    outline:0;    Font:normal 13px/100% Verdana, Tahoma, Sans-serif;    width:200px;    Background: #FFFFFF url (' bg_form.png ') left top repeat-x;    Background:-webkit-gradient (linear, left top, left, from (#FFFFFF), Color-stop (4, #EEEEEE), to (#FFFFFF));    Background:-moz-linear-gradient (top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);    Box-shadow:rgba (0,0,0, 0.1) 0px 0px 8px;    -moz-box-shadow:rgba (0,0,0, 0.1) 0px 0px 8px;    -webkit-box-shadow:rgba (0,0,0, 0.1) 0px 0px 8px;    } textarea {width:400px;    max-width:400px;    height:150px;    line-height:150%;     } input:hover, Textarea:hover, Input:focus, Textarea:focus {border-color: #C9C9C9;    -webkit-box-shadow:rgba (0, 0, 0, 0.15) 0px 0px 8px;     }. form label {margin-left:10px;     Color: #999999;    }. Submit input {Width:auto; PaDDING:9PX 15px;    Background: #617798;    border:0;    font-size:14px;    Color: #FFFFFF;    -moz-border-radius:5px;    -webkit-border-radius:5px; }

HTML code:

<! doctype>

Related Article

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.