mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-07-01 21:01:20 +08:00
fix(curriculum): missing backticks (#64506)
This commit is contained in:
parent
f61fd74927
commit
e560befe92
@ -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"] {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user