leafiy
5/18/2018 - 6:47 PM

@font-face #css

none

.font-face(@path, @font-name){
  @font-face{
    font-family: @font-name;
    src: url('@path/@{font-name}.eot'); /* IE9 Compat Modes */
    src: url('@path/@{font-name}.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('@path/@{font-name}.woff') format('woff'), /* Modern Browsers */
         url('@path/@{font-name}.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('@path/@{font-name}.svg#svgFontName') format('svg'); /* Legacy iOS */
  }
}