I am working on a asp.net mvc5 project and I want to add a font to the project. I used the below code, but I don't get proper answer and I need help. Please help me.
<style type="text/css">
@font-face
{
font-family: 'Dense';
src: url('Dense-Regular.ttf');
}
.classname
{
font-family: 'Dense';
}
</style>
and I get this error
The name 'font' does not exist in the current context