在网站http://fontawesome.io/icons/中有条形图和条形图o(别名)图标 但是当点击查看说明时,它会转到同一页面url,所以有什么区别。
C:\Users\mech10>cd superlists
C:\Users\mech10\superlists>python manage.py test
Creating test database for alias 'default'...
E
======================================================================
ERROR: lists.tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: lists.tests
Traceback (most recent call last):
File "C:\Users\mech10\Anaconda3\lib\unittest\loader.py", line 428,in _find_test_path
module = self._get_module_from_name(name)
File "C:\Users\mech10\Anaconda3\lib\unittest\loader.py", line 369, in _get_module_from_name__import__(name)
File "C:\Users\mech10\superlists\lists\tests.py", line 9
self.assertEqual(found.func,home_page)
^
TabError: inconsistent use of tabs and spaces in indentation
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
Destroying test database for alias 'default'...
感谢
答案 0 :(得分:1)
没有区别,它只是一个别名!请参阅以下示例,使用两个CSS类:
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css" rel="stylesheet"/>
<i class="fa fa-bar-chart" aria-hidden="true"></i>
<i class="fa fa-bar-chart-o" aria-hidden="true"></i>
&#13;