Absolute positioning refers to the element that is closest to the element that is detached from the standard stream , and is positioned relative to the upper-left corner of the body if there is no parent element (or parent element, but the parent
Block elements and inline elements can be converted using display
Display:inline-> to inline elements (for example, Div)
Display:block-> to block elements (e.g. a)
Cases:
block elements and inline elements of mutual conversion
(1) Parent-child selector can have multi-level, but the actual application does not recommend too much, not more than three layers.
(2) The parent-child selector has a strict hierarchical relationship.
(3) A parent-child selector can be a
In every Internet application I've created, I've tried to avoid creating menus that are entirely composed of pictures. In my opinion, the menu system should use text. Doing so also makes the menu cleaner, clearer and easier to read, regardless of
With the concept of Web page standardization popular, more and more websites adopt CSS architecture. CSS Architecture Web pages are not only consistent with the standards of the consortium, but also very attractive. Standardized web pages start with
What CSS is (what is CSS)
CSS (cascading style sheets Cascading style sheet) is a language that describes the look and format of your HTML.
A stylesheet (style sheet) is a file that describes how an HTML page looks.
We say that these stylesheets
Similarly, according to Codecademy's practice, is a class of knowledge points, and then a class to do exercises to do a small page, alternating. This class is practice class. Follow the prompts, write a profile of the page, will soon be done.
The first type: expression
The code is as follows:
Untitled Document 111111111112222222222233333333333444444445555566666666777777777778888888888
----------------------------
Simple Interlace Color:
第1行第1列 第2行第2列 第3行第3列 第4行第4列 第5行第5列
-------
The style sheet (CSS) label properties that are currently supported are listed here. Label properties marked with an asterisk (*) can be used in Microsoft Internet Explorer 5. Label properties marked with two asterisks (* *) are available in
CSS is the English cascading style sheets abbreviation, Chinese translation for "cascading style sheet", referred to as style sheet, it is a new technology to make Web pages.
What basics should you master before you learn CSS?
1. What is a Web page
This article summarizes the use of Div CSS Web page form layout Five tips to help you more flexible control of the form, so that the page more satisfied.
1, form text input mobile selection:
In the text entry field, if prompted, visitors often use
Today to talk about how to achieve the "first word sinking", the first word is very large red italics, stuck in a paragraph of the first text. This practice is common in magazines, but not so common in Web pages. So how to achieve it? In fact, it is
This section of CSS code is quite simple, the purpose is to use CSS to control the display of a paragraph of text and hide. At first I used the following code, it is amazing that they did not respond to my IE6.0, we do not believe that you can test
At present, we want to use the fillet effect in the Web page, always by cutting the graph and then nesting a lot of Div, with the background to achieve rounded corners effect. For the front-end development engineers, rounded corner is really a love
1.DOCTYPE affects CSS processing
2.ff:div set Margin-left, Margin-right is already centered when auto, IE not
3.ff:body set Text-align, Div needs to set Margin:auto (mainly margin-left,margin-right) to center
4.FF: Set padding, div will increase
The transparency attributes of CSS3 opacity presumably everyone has been used everywhere. And for the browser does not support CSS3 how to transparent processing, to maintain the consistent browser effect, this article mainly introduces the detailed
Preface: This is the author's understanding and finishing after learning. If there are errors or questions, please correct me, I will continue to update!
There are a lot of places for vertical centering, and there are many ways to solve them.
known
In the previous two articles we talked about the knowledge and how to use class and ID, but how do we choose the class or ID in the actual project?
First look at the difference between the two!
1.id is unique and class is universal, so a page can
I. Adaptive ellipse
Border-radius Features:
You can specify the horizontal and vertical radii individually, and the values can be percentages, separated by A/(slash) (you can implement an adaptive width ellipse).
You can also specify a
Centering is often the case when we use CSS to lay out the layout. When using CSS to center, sometimes a property can be done, and sometimes require a certain skill to be compatible with all browsers, this article on the center of some common
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.