登录 | 注册 | FAQ
Anonymous

Comments in CSS?

+ 发表回复

17 篇帖子 1, 2


Re: Comments in CSS?

branko97 » 周一 2月 12, 2018 4:49 pm

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

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

Thanks,

Lisa


Good tip, thanks.
头像

branko97

  • 帖子: 1
  • 注册: 周三 11月 29, 2017 12:39 pm

Re: Comments in CSS?

alviya000 » 周四 6月 07, 2018 10:31 am

body {
font-size: 62.5% /* 1em = 10px */
}


The stuff inside the /* */ marks are CSS comments. This allows you to enter notes into CSS that will not be interpreted. In this case, this comment lets someone reading the CSS file know that that particular line of CSS was intended to allow for using ems to set font size later in the CSS in a more intuitive base 10 way.
头像

alviya000

  • 帖子: 1
  • 注册: 周四 6月 07, 2018 10:28 am

Re: Comments in CSS?

pancardstatus » 周五 6月 29, 2018 10:34 am

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

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

Thanks,

Lisa

PAN Stands for Permanent Account Number. It’s used to identify Indian Tax Payers and can be used as Identity Proof too. It is unique for each and every PAN holder.
<a href="http://www.inpancardstatus.com/income-tax-refund-status.html">ITR Status</a>
<a href="http://www.inpancardstatus.com/uti-pan-card-status.html">uti pan status</a>
头像

pancardstatus

  • 帖子: 1
  • 注册: 周五 6月 29, 2018 10:30 am
  • 地址: delhi

games

therese » 周二 8月 28, 2018 6:10 pm

just try it Lead the Clash Royale Family to victory! and download now.
https://games.lol/clash-royale/
http://clash-of-royale.com
头像

therese

  • 帖子: 2
  • 注册: 周二 8月 28, 2018 4:41 pm

Re: Comments in CSS?

Samantha14 » 周一 9月 03, 2018 8:04 am

Inserting comments in CSS is pretty simple. You do it this way:

/* insert your comments here */


I think you are having a hard time to check if your inserted comments are working or not.



------------------------------------------------------------------------
https://www.netguru.co/services
头像

Samantha14

  • 帖子: 10
  • 注册: 周一 9月 03, 2018 6:46 am

Re: Comments in CSS?

panteasuccess » 周二 9月 25, 2018 8:43 am

thanks

https://www.panteashop.ir/%D8%A8%D9%87%D8%AA%D8%B1%DB%8C%D9%86-%D8%B3%D8%A7%D9%84-%D8%B2%D9%86%D8%AF%DA%AF%DB%8C/
头像

panteasuccess

  • 帖子: 3
  • 注册: 周二 9月 25, 2018 8:37 am

Re: Comments in CSS?

Chris889 » 周二 11月 06, 2018 5:54 pm

Did this work /* comments */ ? I actually used it and it went fine. Hope that helps!
<a href="https://www.fenceinstallationgreenville.com">www.fenceinstallationgreenville.com</a>
头像

Chris889

  • 帖子: 1
  • 注册: 周二 11月 06, 2018 5:45 pm


+ 发表回复

1, 2