@font-face { font-family: 'Font awesome pro 300'; src: url('../fonts/Font-Awesome-Pro-Light-300.otf') format('opentype'); font-weight: 300; font-style: normal; } code example
Example: cannot use font awesome in php mvc
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">