Login | Register | FAQ
Anonymous

Comments in CSS?

+ Post a reply

10 posts Page 1 of 1


Comments in CSS?

by lisaja » Mon Oct 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
User avatar

lisaja

  • Posts: 6
  • Joined: Tue Sep 21, 2010 2:24 pm

Re: Comments in CSS?

by lisaja » Wed Oct 13, 2010 3:05 pm

Thank you!
User avatar

lisaja

  • Posts: 6
  • Joined: Tue Sep 21, 2010 2:24 pm

Re: Comments in CSS?

by vinkogrgic » Thu Oct 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)!
User avatar

vinkogrgic

  • Posts: 1
  • Joined: Thu Oct 14, 2010 8:44 pm

Re: Comments in CSS?

by jaantjezensis » Wed Nov 03, 2010 11:44 am

/*

Hi this first time I use it

*/
this way you use
User avatar

jaantjezensis

  • Posts: 4
  • Joined: Wed Nov 03, 2010 4:29 am

Re: Comments in CSS?

by Brainy0003 » Mon Aug 29, 2016 7:21 am

lisaja wrote:How can I insert comments in CSS?

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

Thanks,

Lisa
User avatar

Brainy0003

  • Posts: 1
  • Joined: Sun Aug 28, 2016 5:22 pm

Re: Comments in CSS?

by postpaidbillpaymentoffers » Fri Sep 16, 2016 11:01 am

It is very helpful for me. Thanks for asking this question.
User avatar

postpaidbillpaymentoffers

  • Posts: 1
  • Joined: Fri Sep 16, 2016 10:49 am

Re: Comments in CSS?

by bruce-mesnekoff » Thu Sep 29, 2016 8:55 am

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

Thanks Bruce Mesnekoff
User avatar

bruce-mesnekoff

  • Posts: 1
  • Joined: Thu Sep 29, 2016 8:06 am
  • Location: Wesley Chapel, FL 33544, USA

Re: Comments in CSS?

by vikas » Sat Dec 31, 2016 3:53 pm

Thnx for sharing this information its very useful.

http://customertollfreehelplinenumber.in/

http://customeronlineinfo.in/

http://customercaresupportinfo.in/
User avatar

vikas

  • Posts: 3
  • Joined: Wed Dec 28, 2016 4:27 pm

Re: Comments in CSS?

by Farhin Qureshi » Thu Jan 05, 2017 10:17 am

Hi,

you can use /* comments */
User avatar

Farhin Qureshi

  • Posts: 45
  • Joined: Tue Jan 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com

Re: Comments in CSS?

by rahul_bagi » Fri Sep 22, 2017 7:27 am

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

rahul_bagi

  • Posts: 3
  • Joined: Fri Sep 22, 2017 7:23 am
  • Location: india


+ Post a reply

Page 1 of 1

cron