Home>Article>Development Tools> A brief discussion on the solution to the lack of css smart prompts in vscode

A brief discussion on the solution to the lack of css smart prompts in vscode

青灯夜游
青灯夜游 forward
2021-05-19 11:07:33 6832browse

This article will introduce to you the solution to the problem that there is no css smart prompt invscode. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

A brief discussion on the solution to the lack of css smart prompts in vscode

[Recommended study: "vscode tutorial"]

The premise is that you have installed the smart prompt plug-in or you have smart prompts! !!

1. Problem

I suddenly encountered this situation when I was writing code. There was no such prompt as writing position absolute, which was a bit confusing

2. The reason

is because I usedtwo styles, the one above refers to the style of the component , so it cannot be placed in the scope,

But thecss smart prompt only affects the first style

##3 . Solution

When writing

just change the position, just change the style to be written

For more programming-related knowledge, please visit:

programming video! !

The above is the detailed content of A brief discussion on the solution to the lack of css smart prompts in vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete