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

Code Example 1

# You can do it with SASS itself 
# Nevermind these malware infested sites below
sass-convert style.sass style.scss

Code Example 2

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

/*
  You can convert SCSS to CSS here:
  https://jsonformatter.org/scss-to-css

  Wanna convert it back? Google "css to scss" and see my answer there!
*/

Learn ReactJs, React Native from akashmittal.com