What modules does css3 include?
The modules included in css3 are: 1. List module, used to add styles to HTML lists; 2. Multi-column layout, which extends the block layout mode to make it easier to define multi-column text; 3. Color module , providing a variety of ways to define colors, such as color names, rgb(), hsl(), etc.; 4. Media queries, allowing CSS to operate on different devices.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
CSS3 is an upgraded version of CSS (Cascading Style Sheets) technology. It was formulated in 1999. On May 23, 2001, W3C completed the working draft of CSS3, which mainly includes box model, list module and hyperlink method. , language module, background and border, text effects, multi-column layout and other modules
A major change in the evolution of CSS is the W3C's decision to divide CSS3 into a series of modules.
As early as 2001, W3C completed the draft specification of CSS3. A new feature of the CSS3 specification is that it is divided into several independent modules.
On the one hand, dividing it into several smaller modules is more conducive to timely updating and publishing of specifications, and timely adjustment of module content. These modules can be implemented and released independently, which also lays the foundation for future expansion of CSS. .
On the other hand, due to limitations of supported devices and browser manufacturers, devices or manufacturers can selectively support some modules and a subset of CSS3, which is beneficial to CSS3 promotion.
The following is the specification of each module of CSS3 as of January 2021:
Time |
Name |
Last status |
Module |
---|---|---|---|
1999.01.27 - 2019.08.13 |
Text modification module |
Candidate recommendation |
css-text-decor-3 |
##1999.06.22 - 2018.10.18 | Pagination media module | Working Draft | css-page-3 |
1999.06. 23 - 2019.10.15 | Multi-column layout | Working draft | css-multicol- 1 |
Color Module | Recommended | css-color-3 | |
Namespace module | Recommended | css-namespaces-3 | |
Selector | Recommended | selectors-3 | #2001.04.04 - 2012.06.19 |
Media Inquiries |
Recommended |
##css3-mediaqueries | |
Text module | Candidate recommendation | css-text-3 | |
Cascading and Inheritance | Recommended | css-cascade-3 | ##2001.07.13 - 2019.06.06 |
Value and unit module
|
Candidate recommendations |
css-values-3 |
2001.07.26 - 2020.12.22 |
Basic box model |
Candidate recommendation |
css-box-3 |
##2001.07.31 - 2018.09.20 |
Font module | Recommended | css-fonts-3 | ##2001.09.24 - 2020.12.22 |
Candidate Recommendation | css-backgrounds- 3 | ##2002.02.20 - 2020.11.17 | |
Working Draft | css-lists-3 | ##2002.05.15 - 2020.08.27 | Inline layout module |
Working draft |
##css-inline-3 | 2002.08.02 - 2018.06.21 | Basic User Interface Module |
Recommended | css-ui-3 | ##2003.05.14 - 2019.08.02 |
Generate Content Module |
css-content-3 | |||
##2003.08.13 - 2019.07.16 | Grammar module | Candidate recommendations | css-syntax-3 |
Hyperlink display module | Working group notes | css3-hyperlinks | |
Template Layout Module | Working Group Notes | css-template-3 | |
Pagination media module Generate Content | Working Draft | css-gcpm-3 | |
Marquee Module | Working Group Notes | css3 -marquee | ##2009.07.23 - 2020.12.17 |
Image module |
Candidate recommendation
|
css-images-3 |
##2010.12.02 - 2019.12.10 |
Writing Modes | Recommended | css-writing-modes-3 | 2011.09.01 - 2020.12.08 |
Conditional Rule Module | Candidate Recommendation |
css3-conditionalr | 2012.02.07 - 2020.05.19 |
Positioning Layout Module | Working Draft | css-position-3 | 2012.02.28 - 2018.12.04 |
Fragment module | Candidate recommendation | css- break-3 | ##2012.06.12 - 2020.04.21 |
Working Draft | css-align-3 |
||
2012.09.27 - 2020.12.18 |
Width and Height Size Module |
Working Draft |
css-sizing-3 |
2012.10.09 - 2017.12.14 |
##Counter style | Candidate recommendation | css-counter-styles-3 |
Overflow module | Working Draft | css-overflow-3 | |
Display type module | Candidate recommendation | css-display-3 |
Color representation method supported by CSS3
- Represented by the English name of the color. The English name represents a color, but the representation is very limited and difficult to remember and query.
- is represented by hexadecimal color. The principle of the three primary colors of color and light can be looked up in the table.
- is represented by rgb (r, g, b). The principle of three primary colors of light, red, green and blue.
- Represented by hsl (Hue, Saturation, Lightness). Hue Saturation Brightness.
- Represented by rgba (r, g, b, a). The principle of three primary colors of light, red, green, blue and transparency. a ∈ [0, 1], 0 represents complete transparency.
- Represented by hsla (Hue, Saturation, Lightness, alpha). Hue, saturation, brightness and transparency. alpha ∈ [0, 1], 0 represents complete transparency.
CSS Multi-Column Layout Extends the block layout mode to make it easier to define multiple columns of text. If a line is too long, people have trouble reading the text; if it takes the eyes too long to move from the end of one line to the beginning of the next, they lose the line they are on. Therefore, to make the most of a large screen, authors should place columns of text of varying widths side by side, like a newspaper.
css3 Media QueryWith the rapid popularity of mobile devices, users no longer just browse Web content through traditional computer systems, more and more users are beginning to Use smartphones, tablets or other devices of various sizes to browse web content. In order to ensure that users using different devices can have a good experience, media queries are needed.
Media query is one of the most important functions of CSS style sheets. The so-called media query refers to distinguishing various devices (such as computers, mobile phones, tablets) based on different media types (device types) and conditions. , Braille devices, etc.) and define different CSS styles for them respectively. Media queries allow CSS to more accurately act on different devices or different conditions on the same device, so that all users can get a good user experience.
/* 在小于或等于 992 像素的屏幕上,将背景色设置为蓝色 */ @media screen and (max-width: 992px) { body { background-color: blue; } } /* 在 600 像素或更小的屏幕上,将背景色设置为橄榄色 */ @media screen and (max-width: 600px) { body { background-color: olive; } }
(Learning video sharing:
css video tutorialThe above is the detailed content of What modules does css3 include?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to achieve wave effect with pure CSS3? This article will introduce to you how to use SVG and CSS animation to create wave effects. I hope it will be helpful to you!

This article will show you how to use CSS to easily realize various weird-shaped buttons that appear frequently. I hope it will be helpful to you!

Two methods: 1. Using the display attribute, just add the "display:none;" style to the element. 2. Use the position and top attributes to set the absolute positioning of the element to hide the element. Just add the "position:absolute;top:-9999px;" style to the element.

In CSS, you can use the border-image attribute to achieve a lace border. The border-image attribute can use images to create borders, that is, add a background image to the border. You only need to specify the background image as a lace style; the syntax "border-image: url (image path) offsets the image border width inward. Whether outset is repeated;".

Implementation method: 1. Use the ":active" selector to select the state of the mouse click on the picture; 2. Use the transform attribute and scale() function to achieve the picture magnification effect, the syntax "img:active {transform: scale(x-axis magnification, y Axis magnification);}".

How to create text carousel and image carousel? The first thing everyone thinks of is whether to use js. In fact, text carousel and image carousel can also be realized using pure CSS. Let’s take a look at the implementation method. I hope it will be helpful to everyone!

In CSS3, you can use the "animation-timing-function" attribute to set the animation rotation speed. This attribute is used to specify how the animation will complete a cycle and set the speed curve of the animation. The syntax is "element {animation-timing-function: speed attribute value;}".

The animation effect in css3 has deformation; you can use "animation: animation attribute @keyframes ..{..{transform: transformation attribute}}" to achieve deformation animation effect. The animation attribute is used to set the animation style, and the transform attribute is used to set the deformation style. .
