Merge pull request #13169 from HKuz/fix/CSSIntro

Revise intro for Basic CSS section
pull/13175/head
Samuel Plumppu 2017-02-05 23:35:33 +01:00 committed by GitHub
commit 97c43cb680
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
[
"",
"",
"CSS can be applied both as inline styles\u2014typed directly within HTML <code>style</code> tags\u2014or external style sheets\u2014typed in a separate file that is referenced from your HTML file. Most developers prefer external style sheets because they keep the styles separate from the HTML elements, therefore improving the readability and reusability of your code.",
"There are three main ways to apply CSS styling. You can apply inline styles directly to HTML elements with the <code>style</code> attribute. Alternatively, you can place CSS rules within <code>style</code> tags in an HTML document. Finally, you can write CSS rules in an external style sheet, then reference that file in the HTML document. Even though the first two options have their use cases, most developers prefer external style sheets because they keep the styles separate from the HTML elements. This improves the readability and reusability of your code.",
""
],
[