Some properties in CSS are preceded by "*" or "_".

Some properties in CSS are preceded by "*" or "_".

Some properties in CSS are preceded by "*" or "_".

Identify different browsers

For example:

color{
         background-color: #CC00FF; /*All browsers will display it as purple*/
         background-color: #FF0000\9; /*IE6, IE7, IE8 will display red*/
         *background-color: #0066FF; /*IE6 and IE7 will turn blue*/
         _background-color: #009933; /*IE6 will turn green*/
}
body{

        background:red; /*For Firefox and other browsers;*/
        *background:blue !important; /*For IE7, IE7 can recognize both the * sign and important; */
        *background: green; /*Even IE6 can recognize the * number*/
}

Summarize

The above is what I introduced to you. Some attributes in CSS will be preceded by "*" or "_" which means something. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

<<:  Analysis of basic usage of ul and li

>>:  Solution to the problem that Docker container cannot access Jupyter

Recommend

Comparing Node.js and Deno

Table of contents Preface What is Deno? Compariso...

Detailed explanation of commonly used CSS styles (layout)

Compatible with new CSS3 properties In CSS3, we c...

MySQL Series 11 Logging

Tutorial Series MySQL series: Basic concepts of M...

How does Vue track data changes?

Table of contents background example Misconceptio...

Table shows the border code you want to display

Common properties of tables The basic attributes ...

vue.config.js packaging optimization configuration

The information on Baidu is so diverse that it...

Analysis of the use of Linux vulnerability scanning tool lynis

Preface: Lynis is a security audit and hardening ...

More elegant processing of dates in JavaScript based on Day.js

Table of contents Why use day.js Moment.js Day.js...

Implementation of Nginx domain name forwarding https access

A word in advance: Suddenly I received a task to ...

Mysql Sql statement exercises (50 questions)

Table name and fields –1. Student List Student (s...

Websocket+Vuex implements a real-time chat software

Table of contents Preface 1. The effect is as sho...

MYSQL stored procedures, that is, a summary of common logical knowledge points

Mysql stored procedure 1. Create stored procedure...