CSS notes for individual learning

Source: Internet
Author: User

Border-collapse:collapse; /* Merge of adjacent borders */
Caption-side:top; /* The title is placed on the right side of the table bottom to the left of the table at the bottom of the form * *
Empty-cells:show; /*show: Default value. Show border Hide: Hide Border */
cellspacing=/*cellspacing= "20" Cell spacing cellpadding= "20" Cell content spacing */
table-layout:fixed; /* You must set the width of the table to use */
Empty-cells:hide; /**/
Cursor:pointer; /* Same as hand. A hand-shaped cursor with one finger pricked up. Just like when a user moves the cursor over a hyperlink
All-scroll IE6.0 has four arrows up and down, with a dot cursor in the middle. Used to indicate that the page can scroll up or down in any direction. Ss
The col-resize:ie6.0 has a left and right two arrows, and the middle is separated by a vertical bar. Used to mark items or the title bar can be horizontally changed size
Crosshair: Simple cross-line cursor.
Default: Defaults cursor for the client platform. is usually an arrow. In the other list of attributes */
Button type= the "button"/*/buttons */
line-height:100px/* Text vertically centered 100px varies by border size */
Text-align:center; /* Text Centered */
List-style-type:disc/*disc: A solid circle changes the dot in front of the unordered label */
padding:0; margin:0; /* Remove default margins for Web pages */
margin:100px Auto/*auto Auto Center */
margin-ton;100px; /* Move Up */
position:relative; /* Relative positioning is the point at the upper-left corner of the position where the element originally resides, and it still occupies its original position (selfish point) up (top) */
Position:absolute; /* The reference point of absolute positioning is the upper-left corner of the element that has a bit attribute to his nearest parent element */
position:fixed; /* The reference point for fixed positioning is always the upper-left corner of the form
Display:inline-block; /* Rowset block level */
padding:0px 0px 0px 0px/* Inner margin clockwise rotation */
Display:block; /* Convert to block level */
Background-size; /* Set Background size */
Vertical-align:text-top; /* Top Align */
Overflow:auto; /* Parent element increases with label */
border-radius:5px; /*5 Pixel rounded corners */
transition-transition-property;/* Properties of Transitions */
transition-duration:5s; /* Time of transition */
Visibility:hidden; /* Hide */
visibility:visible; /* Another way of hiding can be used with transitions */
padding-bottom:2000px; /* High layout use left and right to write */
margin-bottom;-2000px/* High layout use left and right to write */
Transform:rotate (45deg)/* Rotate 45 degrees */
Transform-origin;left; /* at which reference point to rotate */
opacity:0.5; /* values between 0 and 1 for 0 means opaque does not support ie*/
Font-weight:bold/* Font Bold */
Border-radius;0 0 5px 10px/* Change four corner of the ling * *
<label></label><input type= "text"/>/* text input */
Value /* Default value */
CheckBox /* check box */
P:before{clear ("I am Front")/* add content in front of P element */
text-intent:10000px/* Text indent */
Box-shadow;0 10px 12px Gray/*10px for shadow translation 12px for width */
<input class= "Morenwenben" type= "text" placeholder= "Message"/>/* Text default */
@[email protected] screen and (min-widht:500px) {
(max-widht:500px) less than 500px
}/* Executes the css*/ss inside the curly braces when the height is greater than 500
<input type= "checkbox" Name= "Aihao" value= "Zuqiu" > Soccer check box
<input type= "Radio" name= "Gender" id= "Man" value= "M" > Men's Singles Marquee
Second.offsetleft//Get div distance to the right second is the ID of the div.
AddEventListener ("click", Fun,false)//First parameter is the name of the event the second one is the function name

CSS notes for individual learning

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.