Skip to content

Instantly share code, notes, and snippets.

@danielsamuels
Created June 14, 2016 13:26
Show Gist options
  • Save danielsamuels/0489db9ac4d6652eca5e440f1a5e2236 to your computer and use it in GitHub Desktop.
Save danielsamuels/0489db9ac4d6652eca5e440f1a5e2236 to your computer and use it in GitHub Desktop.
responsive.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body {
background-color: #000;
color: #fff;
}
</style>
</head>
<body>
{% verbatim %}
URL: <input type="text" v-model=url>
<hr>
<div style="display: flex">
<iframe :src="`${url}`" width="1024" height="768" frameborder="0"></iframe>
<iframe :src="`${url}`" width="400" height="640" frameborder="0"></iframe>
</div>
{% endverbatim %}
<script src="//cdn.jsdelivr.net/vue/1.0.21/vue.min.js"></script>
<script>
'use strict';
new Vue({
el: 'body'
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment