Skip to content

Commit

Permalink
updated external link documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vikaskaliramna07 committed Jul 2, 2023
1 parent d15ea5b commit affc86d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 2 additions & 4 deletions lib/comment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ declare namespace Comment {


/**
* It represents a class that handles CSS comments.
*
* Learn more about CSS Specificity
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
* It represents a class that handles
* [CSS comments](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
*
* ```js
* Once (root, { Comment }) {
Expand Down
13 changes: 5 additions & 8 deletions lib/declaration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ declare namespace Declaration {
}

/**
* It represents a class that handles CSS declarations.
*
* Learn more about CSS Specificity
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
* It represents a class that handles
* [CSS declarations](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
*
* ```js
* Once (root, { Declaration }) {
Expand Down Expand Up @@ -102,10 +100,9 @@ declare class Declaration_ extends Node {

/**
* The `important` property represents a boolean value. If true,
* the CSS declaration will have important specifier.
*
* Learn more about CSS Specificity
* [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
* the CSS declaration will have
* [important](https://developer.mozilla.org/en-US/docs/Web/CSS/important)
* specifier
*
* ```js
* const root = postcss.parse('a { color: black !important; color: red }')
Expand Down

0 comments on commit affc86d

Please sign in to comment.