These are ways in which you can style an HTML element. It specifies which of the element's properties you want to style. To style a different element, change the selector. It defines the element(s) to be styled (in this example, elements). This is the HTML element name at the start of the ruleset. (The term ruleset is often referred to as just rule.) Note the names of the individual parts: Selector Let's dissect the CSS code for red paragraph text to understand how it works :
0 Comments
Leave a Reply. |