mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
Simplify the image custom class statement
This commit is contained in:
parent
6dc6f2a7cf
commit
557413cc4c
@ -102,20 +102,20 @@ _400px image width_
|
|||||||
|
|
||||||
- Left aligned
|
- Left aligned
|
||||||
|
|
||||||
{: width="350" class="normal"}
|
{: width="350" .normal}
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
- Float to left
|
- Float to left
|
||||||
|
|
||||||
{: width="240" class="left"}
|
{: width="240" .left}
|
||||||
"A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space."
|
"A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space."
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
- Float to right
|
- Float to right
|
||||||
|
|
||||||
{: width="240" class="right"}
|
{: width="240" .right}
|
||||||
"A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space."
|
"A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space. A repetitive and meaningless text is used to fill the space."
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -118,19 +118,19 @@ By default, the image is centered, but you can specify the position by using one
|
|||||||
Image will be left aligned in below sample:
|
Image will be left aligned in below sample:
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
{: width="350" class="normal"}
|
{: width="350" .normal}
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Float to the left**
|
- **Float to the left**
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
{: width="240" class="left"}
|
{: width="240" .left}
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Float to the right**
|
- **Float to the right**
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
{: width="240" class="right"}
|
{: width="240" .right}
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Limitation**: Once you specify the position of an image, it is forbidden to add the image caption.
|
> **Limitation**: Once you specify the position of an image, it is forbidden to add the image caption.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user