diff --git a/files/en-us/learn_web_development/core/styling_basics/what_is_css/index.md b/files/en-us/learn_web_development/core/styling_basics/what_is_css/index.md index c67c526b40b2b02..119505d780d518b 100644 --- a/files/en-us/learn_web_development/core/styling_basics/what_is_css/index.md +++ b/files/en-us/learn_web_development/core/styling_basics/what_is_css/index.md @@ -84,8 +84,8 @@ h1 { ``` - In the above example, the CSS rule opens with a {{Glossary("CSS Selector", "selector")}}. This _selects_ the HTML elements that we are going to style. In this case, we are styling level one headings (`{{htmlelement("Heading_Elements", "<h1>")}}`). -- We then include a set of curly braces — `{ }`. -- The braces contain one or more **declarations**, which take the form of **property** and **value** pairs. We specify the property (for example, `color` in the above example) before the colon, and we specify the value of the property after the colon (`red` is the value being set for the `color` property). +- We then include a set of curly braces (`{ }`) to create a **declaration block**. +- The declaration block contains one or more **declarations**, which take the form of **property** and **value** pairs. We specify the property (for example, `color` in the above example) before the colon, and we specify the value of the property after the colon (`red` is the value being set for the `color` property). - This example contains two declarations, one for `color` and another for `font-size`. Different CSS {{Glossary("property/CSS","properties")}} have different allowable values. In our example, we have the `color` property, which can take various [color values](/en-US/docs/Learn_web_development/Core/Styling_basics/Values_and_units#color). We also have the `font-size` property. This property can take various [size units](/en-US/docs/Learn_web_development/Core/Styling_basics/Values_and_units#numbers_lengths_and_percentages) as a value. diff --git a/files/en-us/web/css/reference/values/url_function/index.md b/files/en-us/web/css/reference/values/url_function/index.md index 3f14cbaad36929a..22b4fac61c1e8b6 100644 --- a/files/en-us/web/css/reference/values/url_function/index.md +++ b/files/en-us/web/css/reference/values/url_function/index.md @@ -17,7 +17,7 @@ The **`url()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/Refere Relative URLs, if used, are relative to the URL of the stylesheet (not to the URL of the web page). The **`url()`** function can be included as a value for -{{cssxref('background')}}, {{cssxref('background-image')}}, {{cssxref('border')}}, {{cssxref('border-image')}}, {{cssxref('border-image-source')}}, {{cssxref('content')}}, {{cssxref('cursor')}}, {{cssxref('filter')}}, {{cssxref('list-style')}}, {{cssxref('list-style-image')}}, {{cssxref('mask')}}, {{cssxref('mask-image')}}, {{cssxref('offset-path')}}, {{cssxref('clip-path')}}, +{{cssxref('background')}}, {{cssxref('background-image')}}, {{cssxref('border-image')}}, {{cssxref('border-image-source')}}, {{cssxref('content')}}, {{cssxref('cursor')}}, {{cssxref('filter')}}, {{cssxref('list-style')}}, {{cssxref('list-style-image')}}, {{cssxref('mask')}}, {{cssxref('mask-image')}}, {{cssxref('offset-path')}}, {{cssxref('clip-path')}}, [src](/en-US/docs/Web/CSS/Reference/At-rules/@font-face/src) as part of a {{cssxref("@font-face")}} block, and [@counter-style/`symbol`](/en-US/docs/Web/CSS/Reference/At-rules/@counter-style/symbols) ## Syntax