1
0
mirror of https://gitlab.com/MisterBiggs/Resume.git synced 2025-07-26 16:21:28 +00:00

added print button

This commit is contained in:
2021-09-11 09:30:54 -07:00
parent f4038d30c8
commit 9bf6ff6008
3 changed files with 28 additions and 0 deletions

View File

@@ -19,6 +19,9 @@
</head> </head>
<body> <body>
<button id="printbutton" onclick="window.print()">
Save Resume as PDF
</button>
<div style="text-align: center"> <div style="text-align: center">
<h1>Anson Biggs</h1> <h1>Anson Biggs</h1>
<h3 style="margin-top: 0"> <h3 style="margin-top: 0">

View File

@@ -16,3 +16,8 @@ h2::after {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
#printbutton {
display: none;
visibility: hidden;
}

View File

@@ -40,3 +40,23 @@ header > h3 {
padding: 1em; padding: 1em;
text-align: center; text-align: center;
} }
#printbutton {
margin: 1.5em;
position: fixed;
bottom: 0;
right: 0;
z-index: 100;
background-color: lightskyblue;
animation: pulse-animation 10s infinite;
}
@keyframes pulse-animation {
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
}
20%,
100% {
box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
}
}