In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "what are the classification attributes of CSS". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "what are the classification attributes of CSS" can help you solve the problem.
The CSS classification attribute allows you to control how the element is displayed, set where the image is displayed in another element, position the element relative to its normal position, use absolute values to locate the element, and the visibility of the element.
1. CSS display attribute
The display attribute specifies the type of box that the element should generate. Let me talk about display: the specific value.
Display:
None: this element will not be displayed.
Block: this element will be displayed as a block-level element with a newline character before and after it.
1. 3. Inline: default. This element is displayed as an inline element without a newline character before and after the element.
Inline-block: inline block element. (new value for CSS2.1)
List-item: this element is displayed as a list.
1.6. run-in: this element is displayed as a block-level element or inline element depending on the context.
1.7.There is a value compact in compact:CSS, but it has been removed from CSS2.1 due to the lack of widespread support.
1.8.There is a value marker in marker:CSS, but it has been removed from CSS2.1 due to the lack of widespread support.
1.9. table: this element is displayed as a block-level table (similar), with a newline character before and after the table.
Inline-table: this element is displayed as an inline table (similar), with no line breaks before and after the table.
Table-row-group: this element is displayed as a grouping of one or more rows (similar).
Table-header-group: this element is displayed as a grouping of one or more rows (similar).
Table-footer-group: this element is displayed as a grouping of one or more rows (similar).
Table-row: this element is displayed as a table row (similar).
Table-column-group: this element is displayed as a grouping of one or more columns (similar).
2.6.The table-column: this element is displayed as a cell column (similar)
Table-cell: this element is displayed as a table cell (similar to and)
Table-caption: this element will be displayed as a table title (similar)
2.9. inherit: specifies that the value of the display attribute should be inherited from the parent element.
2. Change the mouse cursor
You can change the mouse cursor with some unique properties, such as:
This is the end of the content about "what are the classification attributes of CSS". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.