diff --git a/examples/templates/example.html b/examples/templates/example.html
index f1f3a311a4..145aee08b9 100644
--- a/examples/templates/example.html
+++ b/examples/templates/example.html
@@ -197,9 +197,7 @@
<script src="https://cdn.polyfill.io/v3/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,TextDecoder"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/3.18.3/minified.js"></script>{{#if extraHead.remote}}
{{ indent extraHead.remote spaces=4 }}{{/if}}
- <style>
- @import "node_modules/ol/ol.css";
- </style>
+ <link rel="stylesheet" href="node_modules/ol/ol.css">
<style>
.map {
width: 100%;