File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ will open the image in a new tab instead of zooming it.
1515
1616## Usage
1717
18- Download ` dist/zoom-vanilla.min.js ` and ` css/zoom.css ` from GitHub, or install
19- via npm by running ` npm i zoom-vanilla.js ` .
18+ 1 . Download ` dist/zoom-vanilla.min.js ` and ` css/zoom.css ` from GitHub, or
19+ install via npm by running ` npm i zoom-vanilla.js ` .
2020
21- 1 . Add the ` zoom-vanilla.min.js ` and ` zoom.css ` files to your HTML page:
21+ 2 . Add the ` zoom-vanilla.min.js ` and ` zoom.css ` files to your HTML page:
2222
2323 ``` html
2424 <link href =" css/zoom.css" rel =" stylesheet" >
2525 <script src =" dist/zoom-vanilla.min.js" ></script >
2626 ```
2727
28- 2 . Add a ` data-action="zoom" ` attribute to the images you want to make
28+ 3 . Add a ` data-action="zoom" ` attribute to the images you want to make
2929 zoomable:
3030
3131 ``` html
You can’t perform that action at this time.
0 commit comments