JS make fillet button (compatible with Google, IE7,IE8)

Source: Internet
Author: User




<!doctype Html>"Utf-8"><title> Untitled document </title> <style type="Text/css">body {margin:0; } div {Behavior:url (../js/PIE.HTC); border:10px solid Green; -webkit-box-shadow:inset 0px 1px 0px Rgba (255,255,255,0.5), 0px 1px 2px rgba (0,0,0,0.2); -moz-box-shadow:inset 0px 1px 0px Rgba (255,255,255,0.5), 0px 1px 2px rgba (0,0,0,0.2); Box-shadow:inset 0px 1px 0px Rgba (255,255,255,0.5), 0px 1px 2px rgba (0,0,0,0.2); Background-color: #eeeeee; Background:-webkit-gradient (Linear, -%0%, -% -%, Color-stop (0%, #fbfbfb), Color-stop ( -%, #e1e1e1)); Background:-webkit-linear-gradient (top, #fbfbfb, #e1e1e1); Background:-moz-linear-gradient (top, #fbfbfb, #e1e1e1); Background:-o-linear-gradient (top, #fbfbfb, #e1e1e1); Background:linear-gradient (top, #fbfbfb, #e1e1e1); Display:-moz-inline-Stack; Display:inline-Block; Vertical-Align:middle; *vertical-Align:auto; Zoom:1; *Display:inline; border:1px solid #d4d4d4; height:32px; Line-height:32px; padding:0px -. 6px; Font-weight: -; Font-size:14px; Font-family:"Helveticaneue-light","Helvetica Neue Light","Helvetica Neue", Helvetica, Arial,"Lucida Grande", sans-serif; Color: #666666; Text-shadow:01px 1px White; Margin:0; Text-Decoration:none; Text-Align:center; }.button {-webkit-transition-property:background, color; -moz-transition-property:background, color; -o-transition-property:background, color; Transition-property:background, color; -webkit-transition-duration:0. 3s; -moz-transition-duration:0. 3s; -o-transition-duration:0. 3s; Transition-duration:0. 3s; -webkit-box-Shadow:none; -moz-box-Shadow:none; Box-Shadow:none; Background: #00a1cb; Color:white; Text-Shadow:none; Border:none; Cursor:pointer;}. Button-Rounded {-webkit-border-radius:3px; -moz-border-radius:3px; -ms-border-radius:3px; -o-border-radius:3px; Border-radius:3px;}. button:hover {background: #00b5e5;}/*Line 183,.. /scss/button.scss*/. button:active {background: #1495b7; Color: #00647f;}. button.disabled {-webkit-box-Shadow:none; -moz-box-Shadow:none; Box-Shadow:none;} </style>ifThere isA box with rounded corners below.</p> <divclass="button button-rounded">filler text</div> <input type="Button"Value="Submit" class="button button-rounded"style="width:50px; height:22px;"></body>

Behavior:url (.. /JS/PIE.HTC);


This reference to the HTC file refers to the path of the HTML page relative to the HTC file, not the path of the CSS relative to the HTC file.

download the specific source code

Address of Baidu Cloud network disk:


      

JS make fillet button (compatible with Google, IE7,IE8)

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.