The impossible function of css is to be "compatible with all browsers", because different versions of browsers support different CSS versions, so CSS is not compatible with all browsers.
The operating environment of this article: Windows 7 system, CSS3 version, Dell G3 computer.
It is impossible for CSS style sheets to achieve the function of being “compatible with all browsers”.
Cascading Style Sheet CSS (Cascading Style Sheet) is a set of formatting rules used to control the appearance of Web pages. Use CSS styles to format the page, including controlling the precise positioning of text, images and other elements on the web page.
CSS can also separate the content and presentation of the page by storing the content of the page in the HTML document, while the CSS rules used to define the appearance of the page are stored in another file or a certain part of the HTML document , usually the file header part.
When CSS is stored in a separate file, you can use the file to control the appearance of multiple web pages.
Because different versions of browsers support different CSS versions, CSS is not compatible with all browsers.
【Recommended learning: css video tutorial】
The above is the detailed content of What is the impossible function of css?. For more information, please follow other related articles on the PHP Chinese website!