Home > Development Tools > VSCode > What to do if vscode keyframes error message

What to do if vscode keyframes error message

藏色散人
Release: 2020-04-08 09:20:48
Original
3129 people have browsed it

What to do if vscode keyframes error message

vscode keyframes报错怎么办?

@keyframes shake-data-v-e732b878 {
            0% {
                -webkit-transform-origin: bottom;
                transform-origin: bottom;
                -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
            }
 
            25% {
                -webkit-transform-origin: bottom;
                transform-origin: bottom;
                -webkit-transform: rotate(24deg);
                transform: rotate(24deg);
            }
 
            50% {
                -webkit-transform-origin: bottom;
                transform-origin: bottom;
                -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
            }
 
            75% {
                -webkit-transform-origin: bottom;
                transform-origin: bottom;
                -webkit-transform: rotate(-24deg);
                transform: rotate(-24deg);
            }
 
            to {
                -webkit-transform-origin: bottom;
                transform-origin: bottom;
                -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
            }
        }
Copy after login

然后报错

严重性    代码    说明    项目    文件    行    禁止显示状态
错误    CS0103    当前上下文中不存在名称“keyframes”    H5.Web.Site    D:\mywork_2.0\shesuites2\h5-suandao.site\4.Site\H5.Web.Site\Views\SuanDaoHome\GuanGongQian.cshtml    255    活动
Copy after login

 

相关教程推荐:vscode教程

 

解决方案:

只需要多加一个@符号转义就ok。亲测可用。

例如 @@keyframes blink

The above is the detailed content of What to do if vscode keyframes error message. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template