@Gulshan-Negi-0 said in CSS comments should be in GREEN:
Well, in my opinion and knowledge, the comment color of CSS is customizable, which means you can change the color of CSS comments.
This topic is about inline CSS between <style>...</style> tags in HTML documents. You are talking about standalone style sheets with the *.css extension.
To demonstrate that you cannot set the style of inline CSS in HTML files, you can try the following:
Save this markup as index.html: <html> <style type="text/css"> /* comment */ </style> </html> Open index.html in any published version of Notepad++ Go to Settings > Style Configurator Select “Language: CSS” Select “Style: Comment” Change the style and save Observe that nothing happenshtml-with-inline-style-npp.8.5.7-002.png
Now select CSS from the language menu at Language > C > CSS, and observe that CSS comments are styled as specified in Style Configurator:
style-sheet-npp.8.5.7-002.png