Check out example codes for "syntax for manipulating a class in css". It will help you in understanding the concepts better.

Code Example 1

//element
element {
}
//class
.class {
}
//ID
#id {
}
//element and class
element .class {
}
//element with class and decendent
element.class decendent {
}

Learn ReactJs, React Native from akashmittal.com