Created
June 14, 2016 13:26
-
-
Save danielsamuels/0489db9ac4d6652eca5e440f1a5e2236 to your computer and use it in GitHub Desktop.
responsive.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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