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:
@@ -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">
|
||||||
|
@@ -16,3 +16,8 @@ h2::after {
|
|||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#printbutton {
|
||||||
|
display: none;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
20
style.css
20
style.css
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user