CSS Page Layout Basics

Source: Internet
Author: User

Remove the origin without the list List-style:none first capitalization list-style:upper-coman into lowercase list-style:lower-roman English initial capital Alpha lowercase Lower-alpha

Dashed boder:1px dashed #58a, dotted line boder:10px dotted #58a, double solid line Doble

Define styles in four directions

BODER-TOP:2PX solid red;

right:2px dashed red;

Botton:dotton;

left:double;

Div can be set to a circle with the same length and width as the word

boder-redins:50%

Element Shadow

box-shadow:5px 5px 2px#000;

Linear gradient

Background:liner-gradiedt (to Right,red,yellow);

Cycle

@keyfeames box{

from{

Background-color;yellow

}

To{background-color;red}

}

You can also use the score ratio symbol

Trasition:all linear 1s, one second constant speed conversion

Row class tokens are converted to block-level

Change A{diaplay:block

line-height:200px

}

Padding value cannot be a negative margin

Vertical line of defense margin will overlap, take maximum value

Floating

Float:left; left float

Right float

Plus the parent re-float can sort the order after the float

Eliminate the last float

list-child{

Clear both

}

Child floating Parent Height collapses

Line element is considered block-level after floating

Set the width when floating text

CSS Page Layout Basics

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.