skip to Main Content

How to get filename of the rendered font CSS?

Is it possible to get the filename of the rendered font of an element? Example: @font-face { font-family: 'MyFont'; src: url('../../public/fonts/MyFont-Bold.woff2') format('woff2'); font-weight: bold; font-style: normal; } @font-face { font-family: 'MyFont'; src: url('../../public/fonts/MyFont-Italic.woff2') format('woff2'); font-weight: normal; font-style: italic; } .my-font-bold…

VIEW QUESTION

Html – font-face is not working in CSS and browser is not showing my font

@font-face { font-family: BYekan; font-style: normal; font-weight: normal; src: url(../resources/BYekan.eot); /* IE9 Compat Modes */ src: url(../resources/BYekan.woff) format('woff'), url(../resources/BYekan.woff2) format('woff2'), /* Super Modern Browsers */ url(../resources/BYekan.ttf) format('ttf'), /* Safari, Android, iOS */ } * { box-sizing: border-box } img {…

VIEW QUESTION
Back To Top
Search