mirror of
https://gitlab.com/MisterBiggs/Resume.git
synced 2025-07-26 08:11:26 +00:00
added print button
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<button id="printbutton" onclick="window.print()">
|
||||
Save Resume as PDF
|
||||
</button>
|
||||
<div style="text-align: center">
|
||||
<h1>Anson Biggs</h1>
|
||||
<h3 style="margin-top: 0">
|
||||
|
@@ -16,3 +16,8 @@ h2::after {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#printbutton {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
20
style.css
20
style.css
@@ -40,3 +40,23 @@ header > h3 {
|
||||
padding: 1em;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user