Check out example codes for "how to print code snippets wordpress". It will help you in understanding the concepts better.

Code Example 1

code {
     font-size:1.2em;
     color: #1e1e1e; 
     position: relative;     
     border-radius: 4px;     
     background: #e1e1e1 }

Learn ReactJs, React Native from akashmittal.com