Skip to content

Commit b6dc65d

Browse files
committed
docs: add css requirement in the transition docs
1 parent 6abf339 commit b6dc65d

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

site/content/demos/transitions.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
---
2-
title: 'Transitions'
3-
description: 'LightGallery allows you to build inline image/video galleries.'
4-
lead:
5-
'lightGallery comes with a numerous number of beautiful built in transitions.
6-
You can change the type of transitions by passing the transition name via mode option.
7-
lightGallery uses Hardware-Accelerated CSS3 transitions for faster animation performance.
8-
You can easily create your own beautiful custom transitions by updating the CSS transform values.
9-
'
10-
date: 2020-10-06T08:48:57+00:00
2+
title: Transitions
3+
description: LightGallery allows you to build inline image/video galleries.
4+
lead: 'lightGallery comes with a numerous number of beautiful built in transitions. You can change the type of transitions by passing the transition name via mode option. lightGallery uses Hardware-Accelerated CSS3 transitions for faster animation performance. You can easily create your own beautiful custom transitions by updating the CSS transform values. '
5+
date: 2020-10-06T08:48:57.000Z
116
draft: false
127
images: []
13-
menu:
14-
demos:
15-
parent: 'Demos'
8+
menu: {demos: {parent: Demos}}
169
weight: 11
1710
toc: true
1811
---
1912

2013
#### Demo
2114

22-
{{< image-gallery id="gallery-transitions-demo">}}
15+
{{< image-gallery id="gallery-transitions-demo" >}}
16+
17+
<div class="alert alert-warning" role="alert">
18+
Note: You need to include the <a href="https://github.com/sachinchoolur/lightGallery/blob/master/dist/css/lg-transitions.css
19+
">lg-transitions.css</a> file in your document to enable custom transitions
20+
</div>
2321

2422
<div class="choose-select-option-wrap">
2523
<span class="choose-select-option">Change transition : </span>

0 commit comments

Comments
 (0)