Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div mv-app="issueClosing"
		<h1><a href="?repo=[repo]" title="Click for permalink">Github Issue Closing Times</a></h1>
		<form mv-action="set(repo, repoInput), set(labels, labelFilter)">
			<label>Repo: <input property="repoInput" mv-default="[repoDefault]"></label>
				<label><input type="radio" property="labelFilter" name="labels" checked value=""> All</label>
				<label><input type="radio" name="labels" value="bug"> Bugs</label>
				<label><input type="radio" name="labels" value="enhancement"> Enhancements</label>
				<label><input type="radio" name="labels" value="[customLabel]"> Label <input property="customLabel" list="label-suggestions"></label>
				<meta property="repoDefault" content="[url('repo') or 'mavoweb/mavo']">
				<meta property="repo" mv-default="[repoDefault]">
				<meta property="labels" content="">


	<details open>
			Based on 100 most recently updated issues
		<div mv-multiple property="issue">
			<a class="issue-number" href="[repo]/issues/[number]" title="[title]" target="_blank">#[number]</a>
			<strong property="timeToClose" mv-attribute="content" content="[closed_at - created_at]" class="[if(timeToClose > month(), 'long', if (timeToClose < day(), 'short'))]">[duration(timeToClose)]</strong>

	<footer class="mv-bar mv-ui"></footer>
	<datalist id="label-suggestions">
		<option mv-multiple mv-value="unique("></option>



                body {
	font: 100%/1.5 Helvetica, Segoe UI, sans-serif;
	--long-color: hsl(0, 100%, 45%);
	--short-color: hsl(80, 80%, 35%);

h1 {
	margin: 0;
	font-weight: 100;
	font-size: 300%;
	text-align: center;

header {
	margin: 0 auto 2em;
	width: max-content;

		h1 a {
			color: inherit;

		h1 a:not(:hover):not(:active) {
			text-decoration: none;

form {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	grid-gap: .4em;

	form > label {
		display: flex;
		align-items: center;

	form > button {
		grid-row: 1 / span 2;
		grid-column: 2;
		padding: .3em 1em;

		form input {
			flex: 1;
			padding: .1em .3em;

		form button,
		form input {
			font: inherit;

		form button {
			font-weight: bold;

dl {
	display: grid;
	grid-template-rows: auto auto;
	grid-auto-flow: column;

	dl, dt, dd {
		border: 1px solid rgba(0,0,0,.1);

	dt, dd {
		border-width: 0 1px 1px 0;
		padding: .3rem .5rem;

	dt {
		background: rgba(0,0,0,.03);

	dd {
		margin: 0;
		font-size: 200%;

summary {
	position: relative;
	column-span: all;
	margin-bottom: .5em;
	font-style: italic;
	color: hsl(220, 10%, 50%);

details {
	column-width: 13em;

	details > div {
		margin: .3em 0;

.long {
	color: var(--long-color);

.short {
	color: var(--short-color);

a.issue-number {
	display: inline-block;
	padding: .05em .4em;
	border-radius: .25em;
	background: hsl(220, 10%, 90%);
	font-weight: bold;
	color: inherit;
	text-decoration: none;

	a.issue-number:visited {
		background: hsl(280, 20%, 90%);

	a.issue-number:hover {
		background: hsl(220, 20%, 50%);
		color: white;

	a.issue-number:visited:hover {
		background: hsl(280, 20%, 50%);
	} {
	margin-top: 1em;
	background: hsl(220, 10%, 91%);
	color: inherit;
} button[class]::before {
		filter: invert(100%);