Add stylized quotation marks
This commit is contained in:
20
snippets/stylized-quotation-marks.md
Normal file
20
snippets/stylized-quotation-marks.md
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Stylized quotation marks
|
||||
tags: visual,beginner
|
||||
---
|
||||
|
||||
Customizes the style of inline quotation marks.
|
||||
|
||||
- Use the `quotes` property to customize the characters used for the opening and closing quotes of a `<q>` element.
|
||||
|
||||
```html
|
||||
<p>
|
||||
<q>Do or do not, there is no try.</q> – Yoda
|
||||
</p>
|
||||
```
|
||||
|
||||
```css
|
||||
q {
|
||||
quotes: "“" "”";
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user