Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created March 27, 2012 23:55
Show Gist options
  • Save fitoria/2221612 to your computer and use it in GitHub Desktop.
Save fitoria/2221612 to your computer and use it in GitHub Desktop.
<html>
<head>
<script type="text/javascript">
var felicidades = {message: 'Felicidades', size: 100 };
felicidades.size = felicidades.size / screen.width;
document.write("<h1 style='font-size:" + felicidades.size + " ;'>" + felicidades.message + "</h1>");
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment