We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Esta tradução está incompleta. Por favor, ajude a traduzir este artigo.



Comments are used to add explanatory notes or prevent the browser from interpreting parts of the style sheet.

Comments can be placed where ever white space is allowed within a style sheet.


/* Comment */


/* A single line comment */

A comment
which stretches
over several


The /* */ comment syntax is used for both single and multi line comments. There is no other way to specify comments in external style sheets. However, when using the <style> element, you may use <!-- --> to hide CSS from older browsers, although this is not recommended. As in most programming languages that use the /* */ comment syntax, comments cannot be nested. In other words, the first instance of */ that follows an instance of /* closes the comment.


Veja também

Etiquetas do documento e colaboradores

Colaboradores desta página: FLR
Última atualização por: FLR,