Create a gist now

Instantly share code, notes, and snippets.

Four lines of code to make the DDI Compendium work well on iPad
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<!-- A short title fits on the home screen -->
<!-- This is all you really need! -->
<meta name="viewport" content="width=1016,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- href points to a 72x72 png with no transparency or gloss effect -->
<link rel="apple-touch-icon" href="icon-72x72.png">
<!-- We're done! -->
<!-- Replace this with the actual compendium code -->
<iframe src=""
style="width: 100%; height: 100%; position:absolute; top: 0; left: 0;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment