From 28ea71d6035d1ee34ef61afa17f32dc80efa4f10 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Sat, 9 Mar 2019 20:03:51 +0530 Subject: [PATCH] fix(guide): Fix solution for style multiple elements and remove stub text (#35530) --- .../index.md | 43 +++++++++++++++++-- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/guide/english/certifications/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class/index.md b/guide/english/certifications/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class/index.md index f3e62cb157..b0c7833bae 100644 --- a/guide/english/certifications/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class/index.md +++ b/guide/english/certifications/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class/index.md @@ -3,17 +3,52 @@ title: Style Multiple Elements with a CSS Class --- ## Style Multiple Elements with a CSS Class - We need to applying our ```red-text``` class to the first ```p``` element. ### Solution In the opening tag of element ```p``` we need to add ```red-text``` class: -```css +```html + + +

CatPhotoApp

+

Click here to view more cat photos.

+ + A cute orange cat lying on its back. + +
+

Things cats love:

+ +

Top 3 things cats hate:

+
    +
  1. flea treatment
  2. +
  3. thunder
  4. +
  5. other cats
  6. +
+
+ +
+ +
+ + +
+ + +
+
``` -### Useful links +### More information -- [Class selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Class_selectors) +- [Class selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Class_selectors) \ No newline at end of file