css| Syntax
1, color
function : Sets the color of the foreground or element.numeric value: Use a color keyword or an RGB value.Example :
Text color (keyword)
Text color (#rrggbb)
Text color [RGB (RR,GG,BB)]
Text color [RGB (r%,g%,b%)]
2,
css| Access
Recently, I had to update an old website of one of my clients so that it could meet the accessibility standards. The idea of digging up old code three or four years ago is simply not appealing, mainly because many of the programming
Many CSS properties can be taken as a percentage value. Although formally, the percent value is the form of the number followed by the% (note that there is no space between the number and%), but in different use situations, its meaning will be many
CSS shorthand refers to the multiple lines of CSS attributes as a single line, also known as CSS Code optimization or CSS abbreviations. The biggest advantage of CSS shorthand is the ability to significantly reduce the size of the CSS file, optimize
1. Box model
box model is the rectangular box that the browser generates for each HTML element in the page.
These boxes are arranged on the page according to the Visible Layout model (visual formatting models). The visible page layout is dominated
CSS Annotations
As described in the HTML tutorial, annotations in CSS documents also play an important role in helping us remember the meaning of CSS, loading the location of HTML documents, and so on.
Start of CSS comments/*, end use/
CSS
Browsers are getting more and more, which means that the more difficult it is to do the Web front-end development. Now the core of the browser is the same, for the compatibility of CSS will also have a certain difference! Used to talk about using
If you are a front-end development engineer, General PX and EM use frequency is relatively high. But today the focus of this article is to introduce some of the units we use very little or even have heard.
One, relive em
TEST-01 (12px * 1.5 = 18px)
1, the use of CSS abbreviations can reduce the paging file size, improve download speed, while making the code concise and readable.
Such as:
The following is a reference fragment:div{border-top:1px solid #cccccc;border-left:1px solid
css| Create | Web page
The three-column layout is currently the most common page layout, the main page content in the middle of the column, the edge of the two columns to place navigation links and so on. The basic layout is usually placed under the
Css
Basic syntax
Rules
Selection character
Any HTML element can be a CSS1 selector. A selector is just an element that points to a special style. For example,
P { text-indent: 3em }
The selector is P.
Class Selector
A single selector can have a
css| syntax We know that Dreamweaver is doing a good job in table making, but at some point it must be combined with CSS to achieve some specific effects, we first put the CSS syntax for table borders, and then explain how to use CSS to beautify the
Css| News | links
Pseudo class--dynamic Link
A pseudo class can be viewed as a special class selector, a special selector that can be automatically recognized by browsers that support CSS. Its greatest use is that you can define different style
css| Design | Web page design
The word truncation is a disgusting question. In order to take care of performance needs, it is often necessary to cut short sentences that are too long, such as a headline in a list.
This is usually handled by
css| Skills | Web page
CSS Common skills to broadcast (i)A. Use CSS abbreviationsUsing abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations refer to the common CSS abbreviation
css| Web Page This article was originally my own translation of learning materials, I think this method is good, so share with you.
With the help of the husband to learn the Web standards just half a month, some places may not be very accurate
css| Tips
What are the techniques for CSS wrap? We all know that the continuous English or digital can be the container is propped up, can not be based on the size of the container to automatically wrap, the following is how the CSS will be their
css| Tutorial | Conditional boundary superposition is a fairly simple concept. However, when you lay out a Web page in practice, it can cause a lot of confusion. Simply put, when two vertical boundaries meet, they form a boundary. The height of this
Css
one. Selector modePattern/meaning/content description
*
matches any element. (Universal selector)
E
Matches any element e (for example, an element of type E). (type selector)
E F
Matches any descendant element F of element E. (descendant
Using a checkbox to control subsequent elements
The checkbox control can toggle its state depending on the mouse's click, and can be used in CSS to set the style for a checkbox in the selected state, using the checked pseudo class. In conjunction
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