WordPress样式表注释在注释名称前面有“/ * =”.为什么它不仅仅是/ *为什么它之后有“=”?是否有助于轻松找到评论或是否一无所获?解决方法 即使我强烈建议不要使用w3schools.com
... . . WordPress样式表注释在注释名称前面有“/ * =”.为什么它不仅仅是/ *为什么它之后有“=”?是否有助于轻松找到评论或是否一无所获?.
解决方法
. 即使我强烈建议不要使用w3schools.com,他们也很好地解释了这个问题:
CSS评论
注释用于解释您的代码,并可在以后编辑源代码时为您提供帮助.浏览器会忽略评论.
CSS注释以“/ *”开头,以“* /”结尾,如下所示:
/*This is a comment*/p{text-align:center;/*This is another comment*/color:black;font-family:arial;}
Source
关于=,它可以用于指定注释中用于稍后替换或格式化的点.
更新1
找到关于=符号的this.
.
Adding a marker to a comment block makes it more searchable. This is
called flagged comment block. For example:
06001
In this case,the flag used is the equal sign (=). By using it as a
search string in your editor,you can actually navigate through all
your sections of your CSS file.
However,a simple marker like an equal sign may be inappropriate when
you want to be more specific. In this case,you can add an identifier
to the flag:
06002
Now you can search for =head in your editor. This is called a labeled flagged comment block.
.. . .. ...