HTML Learning Note w3scss box model (shadow) (some use of Div) case Tenth (original) Reference use table

Source: Internet
Author: User
Tags border color

<!DOCTYPE HTML><HTMLLang= "en"><Head>    <MetaCharSet= "UTF-8">    <title>W3SCSS Box Model</title>    <!--is actually a div plus CSS style design some logical page -    <Linkrel= "stylesheet"href= "Tzy.css"type= "Text/css"></Head><Bodystyle= "margin:0px"><!--remove the outer border of the body -<imgsrc= "Http://images.cnblogs.com/cnblogs_com/ttzzyy/1076163/o_8l7byyh7pd%[email protected]]2v8h.png"alt= "box model Picture"><!--padding set all padding ———— Padding-botton set the internal low margin & #45;& #45; left set inside margin -<!--right set inside top margin ———— top -<TableBorder= "1"cellpadding= "100px"cellspacing= "Ten">    <TR>        <TD>0</TD>    </TR></Table><TableBorder= "1">    <TR>        <TDID= "TD1">1</TD>    </TR></Table><TableBorder= "1">    <TR>        <TDID= "TD2">2</TD>    </TR></Table><TableBorder= "1">    <TR>        <TDID= "Td3">3</TD>    </TR></Table><TableBorder= "1">    <TR>        <TDID= "Td4">4</TD>    </TR></Table><P>Border effect</P><Divclass= "Tzy">Shadow effect</Div><Divclass= "Ttzy">Outer margin</Div><Divclass= "Container">    <Divclass= "BD">        <Divclass= "PD">            <Divclass= "Content">Hello</Div>        </Div>    </Div></Div></Body></HTML>
#td1{Padding-bottom:100px;}#td2{Padding-left:100px;}#td3{Padding-right:100px;}#td4{Padding-top:100px;}P{Border-style:Double;Border-top-style:Solid;Border-bottom-style:Hidden;Border-left-style:dotted;Border-right-color:Aqua;Border-bottom-width:10px;/*Border-style defines 10 different non-inherited style borders including none (empty)*/    /*Single- sided plus up or down can be set*/    /*border-width Border Width*/    /*Single- sided plus up or down can be set*/    /*border-color Border Color*/    /*Single- sided plus up or down can be set*/Border-radius:50px;width:100px;Height:50px;/*set rounded corners corner radians*/Background-color:Bisque;text-align:Center;/*border:2px solid blue;*/    /*General Setup Methods*/}. Tzy{Color:Blue;Background-color:Aqua;width:100px;Height:100px;text-align:Center;Box-shadow:10px 10px 15px #FF00FF;/*Shadow effect*/}. Ttzy{Background-color:Bisque;width:100px;Height:100px;margin:100px;/*margin top and left 100PX margin also have up and down properties*/}. Container{/*Outer frame*/margin:100px;}. BD{/*Border*/Border-style:Double;}. PD{/*Inner margin*/padding:100px;}. Content{Background-color:#FF00FF;}

HTML Learning Note w3scss box model (shadow) (some use of Div) case Tenth (original) Reference use table

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.