Skip to content

Instantly share code, notes, and snippets.

@patmifsud
Created December 7, 2022 23:49
Show Gist options
  • Select an option

  • Save patmifsud/c1dddf7ae8382c8608677d9fa60d217d to your computer and use it in GitHub Desktop.

Select an option

Save patmifsud/c1dddf7ae8382c8608677d9fa60d217d to your computer and use it in GitHub Desktop.
gOKEbdR
<div class="gist-parent">
<div class="msg-box-parent">
<h3>How to make your own HTML slide</h3>
<ul>
<li>
Create something cool in <a href="https://codepen.io/">Codepen</a>
</li>
<li>
Once you're happy with it, click on export (bottom right hand corner) and click <b>Save as Github Gist</b>
</li>
<li>
You can now import your gist into playalong.
</li>
</ul>
<hr />
<caption>
This feature is experimental, let us know in slack if you run into any issues
</caption>
</div>
</div>
*, *::before, *::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html, body {
background: red;
font-family: sans-serif;
line-height: 1.5;
height: 100%;
width: 100%;
}
.gist-parent{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.msg-box-parent{
display: flex;
flex-direction: column;
gap: 20px;
width: 100%;
max-width: 400px;
background: white;
border-radius: 10px;
padding: 30px 30px;
}
hr{margin: 10px 0; opacity: 0.5;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment