html - Custom icon fonts with Icomoon (group multiple path in 1 class) -
i trying use customs icon icomoon on project. love it. until when try insert in html on 2 colours icon.
<span class="icon-fun-diving"> <span class="path1"></span> <span class="path2"></span> <span class="path3"></span> <span class="path4"></span> <span class="path5"></span> <span class="path6"></span> <span class="path7"></span> <span class="path8"></span> <span class="path9"></span> </span>
we can see above code, there bundle of "span" use in order display it. know happens because it's multi colours.
the question is
is there way can store these code in 1 file, use single class name call in html? easier , tidier read/control.
example (into this):
<span class="icon-fun-diving"></span>
Comments
Post a Comment