News

Tony Patton focuses on CSS fundamentals and explains how multiple rules for the same element are handled. Multiple rules ensure that there will be no surprises for either you or the user community.
--description-- Classes allow you to use the same CSS styles on multiple HTML elements. You can see this by applying your red-text class to the first p element.
If your DIV contains multiple class references, append your inline style after the last class. Learn more about CSS attributes that you can override by reviewing websites that discuss CSS attributes.