How to use 2 values in a css property

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 does not work. I've tried it in many ways and I can not. Can anyone help me please?

    
asked by anonymous 07.07.2016 / 21:28

1 answer

2

Use only font and not font-style and add the size and font to be used.

Example:

font: italic bold 15px Georgia;

You can see it working here

W3Schools Reference

    
07.07.2016 / 21:29