Does not works?

  • Profile Image
    กลุ่มการศึกษาพระปริยั
    Asked on November 26, 2021 at 06:17 AM

    Does not works?
    @import url('
    @font-face {
    font-family : Sarabun;
    src :url('
    }
    .form-all{font-family: 'Sarabun', sans-serif;



    This is a re-post of a comment on How to Use Google Fonts and Custom Fonts in Your Form

  • Profile Image
    Johann
    Answered on November 26, 2021 at 06:32 AM

    Greetings,

    You forgot to close the code, and also there is no URL, you should have one in your example:

    @import url ('
    @font-face {
    font-family : Sarabun;
    src :url('

    }
    .form-all {
    font-family: 'Sarabun', sans-serif;
    }


    Go back to Google Font and copy it again.

    Johann