From a02030b23ea2317b1a0161fb5e1722c915fa710f Mon Sep 17 00:00:00 2001 From: Gregory Gubarev Date: Sun, 18 Nov 2018 02:41:39 +0400 Subject: [PATCH] Responsive Web Design: Added hint to Override Class Declarations with Inline Styles (#21954) Added hint to Override Class Declarations with Inline Styles (https://guide.freecodecamp.org/certifications/responsive-web-design/basic-css/override-class-declarations-with-inline-styles and https://learn.freecodecamp.org/responsive-web-design/basic-css/override-class-declarations-with-inline-styles) --- .../index.md | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/guide/english/certifications/responsive-web-design/basic-css/override-class-declarations-with-inline-styles/index.md b/guide/english/certifications/responsive-web-design/basic-css/override-class-declarations-with-inline-styles/index.md index 2cfa611e5f..394f8401b1 100644 --- a/guide/english/certifications/responsive-web-design/basic-css/override-class-declarations-with-inline-styles/index.md +++ b/guide/english/certifications/responsive-web-design/basic-css/override-class-declarations-with-inline-styles/index.md @@ -3,8 +3,29 @@ title: Override Class Declarations with Inline Styles --- ## Override Class Declarations with Inline Styles -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - +We need to use an ```inline style``` to try to make our ```h1``` element white. + +### Example + +Inline styles look like this: + +```css +

+``` + +### Solution + +In this line: + +```css +

Hello World!

+``` +In opening tag ```

``` we need to add ```inline style``` to make our ```h1``` element white: + +```css +

Hello World!

+``` + +#### Tip: +An inline style loses many of the advantages of a style sheet (by mixing content with presentation). Use this method sparingly.