CHRISBER Posted May 18 Share Posted May 18 I want to have on word in a text bock to have different font size than the others. How does that work? Link to comment
Websley Posted May 19 Share Posted May 19 (edited) h1 em, h2 em { font-family:''; font-style:normal; font-size:20px; } You can turn your text that you want a different size into italics and input this code. The em is targeting italic text. You can remove the 'font-family' if you don't want to change the type of font. You can also change the size by changing the amount of px until you get your desired amount. Let me know if this helps! Edited May 19 by Websley Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment