在vscode新建一个HTML文件,输入!+Tab键
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body> </body></html>
最基本的HTML代码。
编辑html,css snippet
"style-reset":{ "prefix": "reset", "body": [ "*{margin:0; padding:0;box-sizing:border-box;}", "*::after, *::before{box-sizing:border-box;}" ], "description":"style reset" }