Check out example codes for "italic css". It will help you in understanding the concepts better.

Code Example 1

.my_italic_class{
  font-style: italic;
}

Code Example 2

#example {
	font-style: normal; /* no specification, default */
  	font-style: italic; /* font is italic */
    font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
    font-style: inherit; /* inherit property from parent */
	font-style: initial; /* default value */
}

Code Example 3

font-style: italic;

Code Example 4

h1 {
  font-style: italic;
}

Code Example 5

p.a {
  font-style: normal;
}


p.b {
  font-style: italic;
}


p.c {
  font-style: oblique;
}

Code Example 6

<style>
#italic{
  font-style: italic;
  } </style> <p id="italic">This is my italic text. :)</p>

Learn ReactJs, React Native from akashmittal.com