Home  >  Article  >  Web Front-end  >  What is the impossible function of css?

What is the impossible function of css?

藏色散人
藏色散人Original
2021-04-09 09:40:265168browse

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.

What is the impossible function of css?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to hide li in cssNext article:How to hide li in css