How to use 2 values in a css property

Asked

Viewed 16 times

1

Good afternoon, I want my String to be formatted as Bold and Italic. In my css file it looks like this:

font-style: italic bold;

It doesn’t work. I’ve tried several ways and I can’t. Can someone please help me?

1 answer

2


Use only font and not font-style and add the size and which font to use.

Example:

font: italic bold 15px Georgia;

You can see running here

Reference in W3schools

  • Unsuccessful :(.

  • edited the answer. see if it works now

  • Show! Thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.