search
HomeWeb Front-endCSS TutorialWhat are the differences between css1 css2 css3? Detailed explanation of the difference

This article brings you content about css1 css2 css3 What are the differences? The detailed explanation of the differences has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

What are the differences between css1 css2 css3? Detailed explanation of the difference

CSS1 provides basic information about fonts, colors, positions, and text properties. This version has been widely supported by browsers that currently parse HTML and XML.

But since the CSS1 version, the CSS2 version was released in May 1998, and the style sheet has been more enriched.

CSS2.0 provides us with a mechanism that allows programmers to create forms and interfaces without considering the display and interface during development. Display issues can be left to artists or programmers to write the corresponding CSS2.0 later. style to solve.

CSS2.0 is a brand-new style sheet structure promoted by W3C. It is completely different from the previous CSS1.0 or CSS1.2. CSS2.0 recommends a set of content and performance effects. In a separated manner, HTML elements can control the display effect through CSS2.0 styles. You can completely eliminate the use of table and td in previous HTML to position the appearance and style of the form. You only need to use HTML tags such as p and Li to separate elements. Then you can define the appearance of the form interface through CSS2.0 styles.

CSS3 language development is developing towards modularity. The previous specification was too large and complex as a module, so it was broken down into smaller modules and more new modules were added.

To put it simply, the attributes of css2 are available in css3, but the attributes of css3 may not be available in css2. CSS3 is the latest version, and the effect is incomparable to CSS2. CSS3 can be said to be an advancement of CSS2, because CSS3 adds some new attributes on the basis of CSS2. For example, there are many functions such as defining rounded corners, background color gradient, background image size control, and defining multiple background images. This is an effect that is not available in CSS2. Now new versions of browsers basically support CSS3, such as IE9, FF4, and chrome11, but it requires If you use CSS3 to develop a website, you should consider users who are still using lower version browsers.

The above is a complete introduction to the differences between css1 css2 css3. If you want to know more about CSS video tutorial, please pay attention to the PHP Chinese website.


The above is the detailed content of What are the differences between css1 css2 css3? Detailed explanation of the difference. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:blog. If there is any infringement, please contact admin@php.cn delete
The Lost CSS Tricks of Cohost.orgThe Lost CSS Tricks of Cohost.orgApr 25, 2025 am 09:51 AM

In this post, Blackle Mori shows you a few of the hacks found while trying to push the limits of Cohost’s HTML support. Use these if you dare, lest you too get labelled a CSS criminal.

Next Level CSS Styling for CursorsNext Level CSS Styling for CursorsApr 23, 2025 am 11:04 AM

Custom cursors with CSS are great, but we can take things to the next level with JavaScript. Using JavaScript, we can transition between cursor states, place dynamic text within the cursor, apply complex animations, and apply filters.

Worlds Collide: Keyframe Collision Detection Using Style QueriesWorlds Collide: Keyframe Collision Detection Using Style QueriesApr 23, 2025 am 10:42 AM

Interactive CSS animations with elements ricocheting off each other seem more plausible in 2025. While it’s unnecessary to implement Pong in CSS, the increasing flexibility and power of CSS reinforce Lee's suspicion that one day it will be a

Using CSS backdrop-filter for UI EffectsUsing CSS backdrop-filter for UI EffectsApr 23, 2025 am 10:20 AM

Tips and tricks on utilizing the CSS backdrop-filter property to style user interfaces. You’ll learn how to layer backdrop filters among multiple elements, and integrate them with other CSS graphical effects to create elaborate designs.

SMIL on?SMIL on?Apr 23, 2025 am 09:57 AM

Well, it turns out that SVG's built-in animation features were never deprecated as planned. Sure, CSS and JavaScript are more than capable of carrying the load, but it's good to know that SMIL is not dead in the water as previously

'Pretty' is in the eye of the beholder'Pretty' is in the eye of the beholderApr 23, 2025 am 09:40 AM

Yay, let's jump for text-wrap: pretty landing in Safari Technology Preview! But beware that it's different from how it works in Chromium browsers.

CSS-Tricks Chronicles XLIIICSS-Tricks Chronicles XLIIIApr 23, 2025 am 09:35 AM

This CSS-Tricks update highlights significant progress in the Almanac, recent podcast appearances, a new CSS counters guide, and the addition of several new authors contributing valuable content.

Tailwind's @apply Feature is Better Than it SoundsTailwind's @apply Feature is Better Than it SoundsApr 23, 2025 am 09:23 AM

Most of the time, people showcase Tailwind's @apply feature with one of Tailwind's single-property utilities (which changes a single CSS declaration). When showcased this way, @apply doesn't sound promising at all. So obvio

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment