登录 | 注册 | FAQ
Anonymous

Comments in CSS?

+ 发表回复

10 篇帖子 分页: 1 / 1


Comments in CSS?

lisaja » 周一 10月 11, 2010 2:19 pm

How can I insert comments in CSS?

In HTML I use "<!-- comment -->". But it doesn't work in CSS.

Thanks,

Lisa
头像

lisaja

  • 帖子: 6
  • 注册: 周二 9月 21, 2010 2:24 pm

Re: Comments in CSS?

lisaja » 周三 10月 13, 2010 3:05 pm

Thank you!
头像

lisaja

  • 帖子: 6
  • 注册: 周二 9月 21, 2010 2:24 pm

Re: Comments in CSS?

vinkogrgic » 周四 10月 14, 2010 8:46 pm

Thanks for asking the question and for answering - this is precisely what I was looking for (both html and css)!
头像

vinkogrgic

  • 帖子: 1
  • 注册: 周四 10月 14, 2010 8:44 pm

Re: Comments in CSS?

jaantjezensis » 周三 11月 03, 2010 11:44 am

/*

Hi this first time I use it

*/
this way you use
头像

jaantjezensis

  • 帖子: 4
  • 注册: 周三 11月 03, 2010 4:29 am

Re: Comments in CSS?

Brainy0003 » 周一 8月 29, 2016 7:21 am

lisaja 写道:How can I insert comments in CSS?

In HTML I use "<!-- comment -->". But it doesn't work in CSS.

Thanks,

Lisa
头像

Brainy0003

  • 帖子: 1
  • 注册: 周日 8月 28, 2016 5:22 pm

Re: Comments in CSS?

postpaidbillpaymentoffers » 周五 9月 16, 2016 11:01 am

It is very helpful for me. Thanks for asking this question.
头像

postpaidbillpaymentoffers

  • 帖子: 1
  • 注册: 周五 9月 16, 2016 10:49 am

Re: Comments in CSS?

bruce-mesnekoff » 周四 9月 29, 2016 8:55 am

body {
font-size: 62.5% /* 1em = 10px */
}
The stuff inside the /* */ marks are CSS comments.

Thanks Bruce Mesnekoff
头像

bruce-mesnekoff

  • 帖子: 1
  • 注册: 周四 9月 29, 2016 8:06 am
  • 地址: Wesley Chapel, FL 33544, USA

Re: Comments in CSS?

vikas » 周六 12月 31, 2016 3:53 pm

Thnx for sharing this information its very useful.

http://customertollfreehelplinenumber.in/

http://customeronlineinfo.in/

http://customercaresupportinfo.in/
头像

vikas

  • 帖子: 3
  • 注册: 周三 12月 28, 2016 4:27 pm

Re: Comments in CSS?

Farhin Qureshi » 周四 1月 05, 2017 10:17 am

Hi,

you can use /* comments */
头像

Farhin Qureshi

  • 帖子: 45
  • 注册: 周二 1月 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com

Re: Comments in CSS?

rahul_bagi » 周五 9月 22, 2017 7:27 am

/* Smartphones (portrait and landscape) ———- /
@media screen and (min-width: 320px) and (max-width: 480px){
/ styles */
}
头像

rahul_bagi

  • 帖子: 3
  • 注册: 周五 9月 22, 2017 7:23 am
  • 地址: india


+ 发表回复

分页: 1 / 1