mirror of
https://github.com/WebStackPage/WebStackPage.github.io.git
synced 2026-02-11 22:35:58 +08:00
45 lines
1.2 KiB
HTML
Executable File
45 lines
1.2 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en-gb" dir="ltr">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Highlight addon - UIkit tests</title>
|
|
<link rel="stylesheet/less" href="../../src/less/uikit.less">
|
|
<link rel="stylesheet" href="highlight.css">
|
|
<script>var less = { env: "development" };</script>
|
|
<script src="../../vendor/less.js"></script>
|
|
<script src="../../vendor/jquery.js"></script>
|
|
<script src="../../src/js/core.js"></script>
|
|
<script src="../../src/js/data.js"></script>
|
|
<script src="highlight.js"></script>
|
|
<style type="text/css">
|
|
|
|
body.uk-container-center {
|
|
max-width: 1000px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
|
|
<body class="uk-container-center">
|
|
|
|
<h1>Highlight</h1>
|
|
|
|
<pre class="highlight"><code><form class="form">
|
|
<input type="text" placeholder="...">
|
|
<input type="password" placeholder="...">
|
|
<select>
|
|
<option>...</option>
|
|
</select>
|
|
</form></code></pre>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('pre.highlight > code').each(function(i, e) { hljs.highlightBlock(e) });
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |