Skip to content

Instantly share code, notes, and snippets.

@aalemayhu
Created August 28, 2022 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalemayhu/d96129b46f66441bc423467cce7dcd98 to your computer and use it in GitHub Desktop.
Save aalemayhu/d96129b46f66441bc423467cce7dcd98 to your computer and use it in GitHub Desktop.
Anki Basic centered flashcard
<!-- Front template -->
<div class="front">
{{Front}}
</div>
<!-- Back template -->
<div class="back">
{{FrontSide}}
<hr id=answer>
{{Back}}
</div>
<!-- Styling (make sure to remove the <style> and </style>) -->
<style>
body {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
height: 80vh;
}
.card {
font-family: arial;
font-size: 20px;
text-align: center;
color: black;
background-color: white;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment