mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 23:49:06 +08:00
fix(curriculum): missing backticks (#64506)
This commit is contained in:
+3
-3
@@ -44,7 +44,7 @@ a[class~="primary"] {
|
||||
}
|
||||
```
|
||||
|
||||
- **Match values that start with a specific prefix**: Targets links starting with https://
|
||||
- **Match values that start with a specific prefix**: Targets links starting with `https://`.
|
||||
|
||||
```css
|
||||
a[href^="https://"] {
|
||||
@@ -53,7 +53,7 @@ a[href^="https://"] {
|
||||
}
|
||||
```
|
||||
|
||||
- **Match values that end with a specific suffix**: Targets links ending with .jpg
|
||||
- **Match values that end with a specific suffix**: Targets links ending with `.jpg`.
|
||||
|
||||
```css
|
||||
a[href$=".jpg"] {
|
||||
@@ -62,7 +62,7 @@ a[href$=".jpg"] {
|
||||
}
|
||||
```
|
||||
|
||||
- **Match values that contain a substring anywhere**: Targets links that contain https anywhere in the value.
|
||||
- **Match values that contain a substring anywhere**: Targets links that contain `https` anywhere in the value.
|
||||
|
||||
```css
|
||||
a[href*="https"] {
|
||||
|
||||
Reference in New Issue
Block a user