When using CSS to write the registration page, we found that the editing effect is not effective

When using CSS to write the registration page, we found that the editing effect is not effective

Project scenario: learning the combination of CSS and HTML Problem Description: in HTML writing, the text effect is not effective

Project scenario: learning the combination of CSS and HTML

tip: here is a brief introduction of the background of the project: when learning the combination of CSS and HTML recently, I encountered a problem that I don’t know how to describe in the process of writing the registration page


Problem Description: in HTML writing, the text effect is not effective

Receiving data code in idea:

 .rg_left > p :first-child{
            color: #FFD026;
            font-size: 20px;
        }
        .rg_left > p:last-child{
            color: #A6A6A6;
            font-size: 20px;
        }

you can’t add a space between P and colon. Although you won’t report an error, the effect displayed on the web page doesn’t take effect. At first, I thought it was Google’s problem. Later, after constant attempts, I solved the problem


Carefully check whether there are spaces in the syntax during the code writing process. Although idea will not report errors, the final implementation effect will be inconsistent with the plan

Read More: