english, sinhala font size, and tamil font size

@font-face {
   font-family: latoRugular;
   src: url(../../../assets/fonts/Lato-Regular.ttf);
} 

@font-face {
   font-family: notoRegularSinhala;
   src: url(../../../assets/fonts/NotoSansSinhala-Regular.ttf);
}

@font-face {
    font-family: notoRegularTamil;
    src: url(../../../assets/fonts/NotoSansTamil-Regular.ttf);
}

* {
   font-family: latoRugular;
   font-family: notoRegularSinhala;
   font-family: notoRegularTamil !important;
  }

body {
   font-family: latoRugular;
   font-family: notoRegularSinhala;
   font-family: notoRegularTamil !important;
}

I added the above code, the font family file got from the google-font. So according to the attached picture, We can see English and Sinhala font sizes are small, but the Tamil font size is larger than the English and Sinhala font sizes.

0

There are 0 best solutions below