मैं लोड हो रहा है एक नमस्ते विश्व html फ़ाइल क्रोम में 95, के साथ एक घोषित @फ़ॉन्ट चेहरा से लोड गूगल फोंट. फ़ॉन्ट है सही ढंग से लोड हो रहा है, जो मैं पुष्टि कर सकते हैं नेटवर्क में टैब है, लेकिन किसी कारण के लिए मेरे div प्रतिपादन है के रूप में बार.
मैं क्या कर रहा हूँ गलत?
<html>
<div style='font-family:OpenSans-Regular;'>
Hello World!
</div>
</html>
<style>
@font-face {
font-family: OpenSans-Regular;
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url(https://fonts.gstatic.com/s/opensans/v27/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu0SC55K5gw.woff2) format('woff2');
}
</style>