用于覆盖列表项引导程序的内联样式
inline-styles for override a list item boostrap
有人知道用我的个性化 img 覆盖列表中 img 的单行吗?
我要更改的是这一行:
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i> Profile </a>
我试试这个:
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400" style="list-style-image: url('/images/myimg.jpg');"></i> Profile
但是没有用。有帮助吗?
不,它没有用。
I want to replace the icon at left with my icon.
'complete'代码是:
echo '<a class="dropdown-item" href="update-parameters.php">';
echo '<i class="fas fa-sm fa-fw mr-2 text-gray-400"></i>';
echo 'Profile';
echo '</a>';
html 打印它是因为验证了一个条件
这可能就是您要找的东西
<ul>
<li class="fas fa-user fa-sm fa-fw mr-2 text-gray-400" style="list-style-image: url('/images/myimg.jpg');">Profile</li>
</ul>
有人知道用我的个性化 img 覆盖列表中 img 的单行吗?
我要更改的是这一行:
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i> Profile </a>
我试试这个:
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400" style="list-style-image: url('/images/myimg.jpg');"></i> Profile
但是没有用。有帮助吗?
不,它没有用。 I want to replace the icon at left with my icon.
'complete'代码是:
echo '<a class="dropdown-item" href="update-parameters.php">';
echo '<i class="fas fa-sm fa-fw mr-2 text-gray-400"></i>';
echo 'Profile';
echo '</a>';
html 打印它是因为验证了一个条件
这可能就是您要找的东西
<ul>
<li class="fas fa-user fa-sm fa-fw mr-2 text-gray-400" style="list-style-image: url('/images/myimg.jpg');">Profile</li>
</ul>