Adding custom button to CSS - Ionic 3 can't load font


#1

I am trying to add custom button style for my Ionic application.

Here’s an image with my folder structure, where the font is not working:

This is my Sass file:

page-login {
  @font-face {
    font-family: 'Minecraft';
    src: url('../../assets/Minecraft.ttf')
  }
  .button-login {
    height: 40px;
    width: 200px;
    text-decoration: none;
    text-align: center;
    color: white;
    background: url('https://i.hizliresim.com/QpVGbg.png') no-repeat;
    font-family: Minecraft;
    line-height: 26px;
    padding-top: 6px;
  }
}

#2

I think you’re going up too many directories…

should just be ../assets/Minecraft.ttf