CSS3 Application in Mobile 2 (super-practical)

Source: Internet
Author: User

Shadow

box-shadow:<length><length><length>| | Color

<style type= "Text/css" >

div{

-webkit-box-shadow:3px 4px 2px #000;

-moz-box-shadow:3px 4px 2px #000;

box-shadow:3px 4px 2px #000;

padding:5px 4px;

}

</style>

<style type= "Text/css" >

div{

text-shadow:5px-10px 5px Red;

Color: #666;

font-size:16px;

}

</style>

Background

background-size:10px 5px;

-webkit-background-size:10px 5px;

Background-origin:border|content|padding

Multiple backgrounds

Background:url (background1.png) left top no-repeat,

URL (background2.png) left top no-repeat;

Background color Gradient

Background:-webkit-gradient (linear,0 0,0 100%,form (#fff), to (#000));

Rounded border

-moz-border-radius:10px 5px;

-webkit-border-radius:10px 5px;

border-radius:10px 5px;

CSS3 Application in Mobile 2 (super-practical)

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.