CSS syntax is indispensable for designing standard WEB pages. Generally, we can automatically generate the corresponding CSS code through the "CSS style" Panel of the Dreamweaver software. Although the CSS code generated by the software is clear and
I recently studied www.21kaiyun.com, which is a website about the constellation Ziwei doushu. I think CSS of this website is very good and I will share it with you.
I. Use css abbreviationsReference contentUsing abbreviations can help reduce the
XmlWith the emergence of extensible Markup Language, structured documents and data have a common and adaptive format, which can be applied not only on the web, but also anywhere. The standard is called possible.
XHTMLIs The abbreviation of The
This article describes how to set, append, remove, and switch styles in JQuery. It involves common jQuery style operations and is very simple and practical, for more information about how to set, append, remove, and switch styles using JQuery, see
See this title everyone will think of this Browsers "How to Work", this article on the browser a lot of details are very detailed, but also translated into Chinese. Why do I want to write an article? For two reasons,1) This article is too long, the
JQuery sets, appends, removes, and switches styles.
This document describes how to set, append, remove, and switch styles using JQuery. Share it with you for your reference. The specific analysis is as follows:
With JQuery, the style operations of
1. How to set text font, color, and size-Use font
Font-style: Set italic, for example, font-style: italic;Font-weight: Specifies the text width, for example, font-weight: bold;Font-size: Set the text size, for example, font-size: 12px; (or 9pt,
ArticleDirectory
1. Basic syntax Specification
2. color value
3. Define the font
4. Group Selector
5. Derivative Selector
6. ID Selector
6. Category Selector
7. Define the link Style
Learn about
Using abbreviations can help reduce the size of your CSS file and make it easier to read. The main rules for CSS abbreviations are as follows: Color
The hexadecimal color value. If the two values are the same, they can be abbreviated to half.
In webpage design, CSS is often used to control hyperlink styles. However, we must pay attention to the order of tags. Otherwise, the expected results may fail.
When I made a webpage, I arranged the labels in the following order:
A: link
1. Simplified CSS font attributesIn general, CSS is used to set the font attributes as follows:Font-weight: bold;Font-style: italic;Font-varient: small-caps;Font-size: 1em;Line-height: 1.5em;Font-family: verdana, sans-serifBut you can also write all
Using abbreviations can help reduce the size of your CSS file and make it easier to read. The main rules for css abbreviations are as follows:ColorThe hexadecimal color value. If the two values are the same, they can be abbreviated to half. For
Using abbreviations can help reduce the size of your CSS file and make it easier to read. The main rules for css abbreviations are as follows:ColorThe hexadecimal color value. If the two values are the same, they can be abbreviated to half. For
Transferred from blog
Ylm's space Div + CSS build template skills favorites because Firefox and IE are biased when constructing a box
Main Embodied in border and padding
First, border:If your box structure is:Width 100, Height 100, border 1If
landlord more lazy, this is to see others write direct copy back to respect the original. Http://www.cnblogs.com/iflygofy/archive/2016/08/01/5726479.htmlThere are some comments that you add yourself to.Use of colors and units
Color
Change text through font, mainly from the following aspects
Font bold, font style: Italic and Font variants: small caps
Size of font
Row height
Font
Examples such as the followingP{font:italic 75%/125% "Comic Sans MS",
Style sheet:Role: Beautify the page, page layout.ClassificationInline, written in the label inside Style= "" Inside the style, the advantage is the control precision, reusability is poor.Embedded, embedded in the head of the Web page, reusability is
Original address: CSS Learning Summary (i) Selector groupingCSS selectors can be divided into1. Group selector such as:PBodyImgDiv{}2. Brother selector such as:P +P{Color#f00;}3. Property selectors such as:P[Title]{Color#f00;}4. Include (descendant)
Last week spent a week, Monday to Friday on average 2-3 hours a day, Saturday, Sunday each day 8 hours each, see NetEase cloud Classroom Yan 18 html+div+css video, feel good, according to the video of the lecture thinking about to do a summary
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.