我有一个表单标签如下:
<label id="jform_email-lbl" for="jform_email" class="hasTip required"
title="Email Address::Please enter the email address associated with your User
account.<br />A verification code will be sent to you. Once you have
received the verification code, you will be able to choose a new password for
your account.">Email Address:<span class="star"> *</span></label>
我想对我的 popover 'title' 元素 (#000) 应用不同的样式。
不是表单上显示的“电子邮件地址:”标签(即#fff)。
以为我可以执行以下操作,但它不起作用:
label#jform_email-lbl[type="title"] {
color: #000;
}
****已编辑** 答案如下 - 对于其他试图找到正确 css 的人:**
div.tip .tip-title {
color: #E77600 !important;
font-weight: bold;
}
div.tip .tip-text {
color: #979797 !important;
font-weight: bold;
}