WordPress style sheet comments have “/* =” before the name of the comment. Why isnt it just /* and why does it have “=” after it? Does it help to find comments easily or is it there for nothing?
Leave a Reply
You must be logged in to post a comment.
Even though I would highly recommend against using w3schools.com, they do a good job explaining this question:
CSS Comments
Comments are used to explain your code, and may help you when you edit the source code at a later date. Comments are ignored by browsers.
A CSS comment begins with “
/*
“, and ends with “*/
“, like this:Source
Regarding the =, it may be used to specify a point in the comment that is used for replacing or formatting later.
Update 1
Found this regarding the
=
sign.Equals signs are never used in CSS so it’s a good marker to provide quick searching.
I think it’s mostly likely there to just help identify that comment (don’t know why you would need to, common sense says to place the comment where next to the code it’s referring to)
all you need is just
/*blah, blah, blah*/