Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit 0114e52

Browse files
authored
Update README.md
1 parent 725d617 commit 0114e52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# shopify-css-hooks
22
Snippet for CSS hooks
3+
4+
## Installation
5+
6+
1. Add [`css-hooks.liquid`](./css-hooks.liquid) to the Snippets/ folder.
7+
2. Go to `theme.liquid` add `{% render 'css-hooks' %}` in the `<body>` elements class attribute. (e.g. `<body class="{% render 'css-hooks' %}">`)
8+
9+
## Credits
10+
11+
- [Creating Useful CSS Hooks in Liquid by Keir Whitaker](https://www.shopify.com/partners/blog/92262598-creating-useful-css-hooks-in-liquid)
12+
- [Modernizr](https://modernizr.com/docs)

0 commit comments

Comments
 (0)