yy-menu
Version:
A traditional menu system for web apps inspired by Electron
49 lines (42 loc) • 1.22 kB
HTML
<head>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/styles/ascetic.min.css">
<style>body {
margin: 1em 0 0 0;
padding: 0;
}
.title {
margin-top: 1%;
margin-left: 15%;
font-size: 200%;
}
#code {
left: 15%;
width: 80%;
position: absolute;
word-wrap: break-word;
z-index: -1;
}
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: rgba(0, 0, 100, 0.02);
}
.hljs-comment {
color: blue;
}
.font {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 1.25em;
}
button {
position: absolute;
background: green;
color: white;
font-size: 1.25em;
}</style>
<script src="/code.7f948419.js"></script>
</head>
<body>
<div class="title">Example for <a href="https://github.com/davidfig/yy-menu/">github.com/davidfig/yy-menu/</a></div>
</body>