Вход | Регистрация | FAQ
Anonymous

Comments in CSS?

+ Ответить

Сообщений: 13 1, 2


Re: Comments in CSS?

branko97 » Пн фев 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
  • Зарегистрирован: Ср ноя 29, 2017 12:39 pm

Re: Comments in CSS?

alviya000 » Чт июн 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
  • Зарегистрирован: Чт июн 07, 2018 10:28 am

Re: Comments in CSS?

pancardstatus » Пт июн 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
  • Зарегистрирован: Пт июн 29, 2018 10:30 am
  • Откуда: delhi


+ Ответить

1, 2