Article Introduction: details and summary elements.
Once upon a time, when we created a widget that could show/hide some content, we had to use JavaScript. Sometimes you may have to download a complete JS library for this small feature to
Core Tip: define the order in which CSS3 attributes are written
Examples of different writing sequences
The first is the more intelligent and recommended wording:
. not-a-square {-webkit-border-radius:10px;-moz-border-radius:10px; border-radius:10
Core tip:clip attribute is a useful attribute, but often in practical applications, and rarely, the introduction is very few.Clip attribute is a more useful attribute, but it is often used in practical applications, and it is seldom introduced. Two
Core tips: CSS rules consist of two main parts: selectors, and one or more declarations.
CSS syntax
CSS rules consist of two main parts: selectors, and one or more declarations.
selector {declaration1; declaration2;. Declarationn}
Selectors are
Core tip: by defining a style based on the context in which the element is positioned, you can make the tag more concise.
Derivation Selector
By defining a style based on the context in which the element is positioned, you can make the tag more
Core tip:The ID selector can specify a specific style for HTML elements marked with a specific ID.
ID Selector
The ID selector can specify a specific style for HTML elements marked with a specific ID.
The ID selector is defined with "#".
The
Core tips: Class can be reused and IDs can only be used once in a page. It is possible that using the same ID repeatedly in a large number of browsers will not cause problems, but it is definitely wrong to use on the standard and is likely to lead
Core tip: the random load of CSS style JS effect is really good to implement, and then random replacement in load, Because the first loaded DEFAULT.CSS style is written directly on the page, and JS random load behind the CSS file will overwrite the
Article Introduction: CSS Instance Tutorial: Simple slide navigation bar effect.
Because of the limitations of the font of the Web page and the need for the beautiful navigation bar, using Background-repeat to do a simple text navigation
Article Introduction: I believe many people have encountered in the design of custom scroll bar style, before I was trying to convince designers to accept the browser with the scroll bar style, but this can only circumvent or solve the problem,
Article Introduction: The main purpose of our null reference here is to say that if we define a variable that will be used to store the object in the future, then we'd better initialize the variable to null, so as long as it detects null value to
Each browser can have its own behavior and performance, but WebKit under the leadership of Apple, the UI to go a little farther, but it brings us a bit of trouble, because in many cases, we want the search box in all browsers consistent performance .
Css|dreamweaver
seven. Define CSS Style list properties
The list category of the CSS Style Definition dialog box defines list settings, such as bullet size and type, for list labels.
Define list styles: In the CSS Style Definition dialog box,
Css|dreamweaver
Six. Define CSS style border properties
Use the Borders category of the CSS Style Definition dialog box to define settings (such as width, color, and style) for borders around elements.
To set the border style: in the CSS Style
Css|dreamweaver
Five. Define CSS Style Box Properties
Use the box (also called box) category of the CSS Style Definition dialog box to define settings for labels and properties that control how elements are placed on the page. You can apply
Css|dreamweaver
four. Define CSS style block properties
Use the chunks category of the CSS Style Definition dialog box to define the spacing and alignment settings for labels and properties.
Define block settings: In the CSS Style Definition
Css|dreamweaver
three. Define CSS style Background properties
Use the background category of the CSS Style Definition dialog box to define the background settings for a CSS style. You can apply background properties to any element in a Web page.
Dreamweaver
two. Define the type properties of CSS
Use the type category in the CSS Style Definition dialog box to define basic font and type settings for CSS styles.
To define the type settings for a CSS style:
In the CSS Style Definition dialog
Css|dreamweaver A. CSS Overview
Now the layout of the Web page is becoming more and more complex, many effects need to be implemented through CSS, Dreamweaver MX 2004 has made great improvements in the design of CSS functions. Today to give you a
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