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

Code Example 1

/* Answer to: "css to scss" */

/*
  You can convert CSS to SCSS here:
  http://beautifytools.com/css-to-scss-converter.php
*/

Learn ReactJs, React Native from akashmittal.com