.centeredText {
text-align: center;
}
You can see how helpful combining classes with CSS can be. If we define a style that can be reused and applied across the website, we can simply add that class to any element in our HTML and have it instantly update to the desired style without needing to change our CSS at all. We can simply create our website style in our CSS, then build pages with HTML just adding classes to inject our styling as we wish. This keeps your webpage nice and consistent, and also speeds up the development process. Remember you can also use as many classes as you like; this way you can combine styles to form the desired effect for your element. Let’s update our example to see how this can be used in practice.