Using Stylify CSS in browser
Stylify can be used directly in the browser using CDN or imported as a module.
Integration example for browser can be found in integrations examples repository.
Installation & Configuraton
<script src="https://cdn.jsdelivr.net/npm/@stylify/stylify@latest/dist/stylify.min.js"></script>
<script>
// Optional - https://stylifycss.com/en/docs/stylify/runtime
Stylify.configure({ });
</script>
Installation & Configuration - modules
With modules (config is the same as above):
<script type="module">
import { Runtime } from 'https://cdn.jsdelivr.net/npm/@stylify/stylify@latest/esm/index.min.js';
// Optional - https://stylifycss.com/en/docs/stylify/runtime
new Runtime({ });
</script>
Advanced configuration
Go and check out the Runtime docs.
Where to go next?
- 🚀 Learn how to get started
- ⚙️ Or configure Stylify right away: