From 8cb572c368d8fd69e0445ad54ed31554bba964c6 Mon Sep 17 00:00:00 2001 From: Steve Lee <7257737+SteveLee1287@users.noreply.github.com> Date: Mon, 15 Oct 2018 23:57:49 -0500 Subject: [PATCH] fix:grammar (#19420) * fix:grammar * fix: corrected two link' syntax --- .../pages/guide/english/html/css-classes/index.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/client/src/pages/guide/english/html/css-classes/index.md b/client/src/pages/guide/english/html/css-classes/index.md index 06847a2f33..8216b6fa7c 100644 --- a/client/src/pages/guide/english/html/css-classes/index.md +++ b/client/src/pages/guide/english/html/css-classes/index.md @@ -21,7 +21,7 @@ You can then style these elements with CSS. Classes are referenced with period ( } ``` -This code give a blue background and a red text color to all the elements that have the `super-man` class. +This code will give s blue background and red text color to all the elements which have the `super-man` class. [View this example on CodePen](https://codepen.io/Tlandis/pen/RLvomV). You can also declare more than one class to your element, like: @@ -39,27 +39,26 @@ Then in your css file: ```css .ironMan{ -color:red; + color:red; } .alfred{ -background-color: black; + background-color: black; } ``` -**Note:** class names are traditionally all lowercase, with each word in a multi-word class name separated by hyphens (e.g. "super-man"). +**Note:** Class names are traditionally all lowercase, with each word in a multi-word class name separated by hyphens (e.g. "super-man"). You can also combine classes in the same line: ```css .superMan .spiderMan { -color: red; -background-color: blue; + color: red; + background-color: blue; } ``` -You can see the result of the above code here. -Learn how to combine css classes using selectors here. +You can see the result of the above code [here](https://codepen.io/Tlandis/pen/RLvomV'). Learn how to combine css classes using selectors [here](https://www.w3schools.com/css/css_combinators.asp'). #### More Information: