简体   繁体   中英

why cursive font does not Works in my browser?

i have a paragraphe into my html code, i try to change the font family to cursive by using CSS, when i open this page in tablet its works perfectly and the font is change like i want,but it's not works correctly in my browser google chrome Version 90.0.4430.93 (Build officiel) (64 bits)(windows 10), how i can add this font to my browser for getting the same result That appeared in tablet?

 p{ font-family:cursive; }
 <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia, molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborum numquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provident similique accusantium nemo autem </p>

You will need to import the font using Google Fonts or something similar. This is also why it's important to have a generic font-family as a fallback mechanism in case the specified font is unavailable. So in the code below we are providing sans-serif as a generic font-family in case Georgia is unavailable.

font-family: Georgia, sans-serif;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM