Login | Register | FAQ
Anonymous

Comments in CSS?

+ Post a reply

15 posts 1, 2


Re: Comments in CSS?

by branko97 » Mon Feb 12, 2018 4:49 pm

lisaja wrote:How can I insert comments in CSS?

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

Thanks,

Lisa


Good tip, thanks.
User avatar

branko97

  • Posts: 1
  • Joined: Wed Nov 29, 2017 12:39 pm

Re: Comments in CSS?

by alviya000 » Thu Jun 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.
User avatar

alviya000

  • Posts: 1
  • Joined: Thu Jun 07, 2018 10:28 am

Re: Comments in CSS?

by pancardstatus » Fri Jun 29, 2018 10:34 am

lisaja wrote: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>
User avatar

pancardstatus

  • Posts: 1
  • Joined: Fri Jun 29, 2018 10:30 am
  • Location: delhi

games

by therese » Tue Aug 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
User avatar

therese

  • Posts: 2
  • Joined: Tue Aug 28, 2018 4:41 pm

Re: Comments in CSS?

by Samantha14 » Mon Sep 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
User avatar

Samantha14

  • Posts: 10
  • Joined: Mon Sep 03, 2018 6:46 am


+ Post a reply

1, 2