diff --git a/guide/english/certifications/responsive-web-design/basic-css/use-css-selectors-to-style-elements/index.md b/guide/english/certifications/responsive-web-design/basic-css/use-css-selectors-to-style-elements/index.md index a3b1df486b..dea0e23df8 100644 --- a/guide/english/certifications/responsive-web-design/basic-css/use-css-selectors-to-style-elements/index.md +++ b/guide/english/certifications/responsive-web-design/basic-css/use-css-selectors-to-style-elements/index.md @@ -3,8 +3,14 @@ title: Use CSS Selectors to Style Elements --- ## Use CSS Selectors to Style Elements -This is a stub. Help our community expand it. +CSS selectors are widely used to apply styling to all instances of a particular element. -This quick style guide will help ensure your pull request gets accepted. +To apply the color `purple` to all the `h2`s on the page, you can define the following CSS inside a `` block. - +```css +h2 { + color: purple; +} +``` + +This will apply the color `purple` to all `

` headings. If you are using the `style="color: purple"` attribute on each `

` element, you can remove it and instead define it in a single place inside a `` block.