UNPKG

@craftkit/craft-sample-stickyheader

Version:

Sample implementation for Craft-Widget-StickyHeaderNavi

26 lines (22 loc) 841 B
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, viewport-fit=cover"/> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="theme-color" content="#000"> <link rel="manifest" href="manifest.json"> <title>Sticky header sample</title> <style>html,body { width: 100%; height: 100%; box-sizing:border-box; margin:0; padding:0; background-color:rgba(241,241,241,1.0); }</style> <script src="demo.stickyheader.js"></script> <script> window.onload = function(){ Craft.Core.Bootstrap.boot(Demo.StickyHeader.App); }; </script> </head> <body id="CraftRoot"> </body> </html>